summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmit Mahajan <amitmahajan@google.com>2015-06-11 14:55:42 -0700
committerAmit Mahajan <amitmahajan@google.com>2015-06-11 15:52:33 -0700
commita7778fc09a61d1f5b3e00878da52848ef60e366d (patch)
tree5f57709bb27e602b8dd2d6d062ebbe41641f2a23 /src
parent33d11a4788d23426a0b428db683f58d564bd87ce (diff)
downloadandroid_packages_apps_CarrierConfig-a7778fc09a61d1f5b3e00878da52848ef60e366d.zip
android_packages_apps_CarrierConfig-a7778fc09a61d1f5b3e00878da52848ef60e366d.tar.gz
android_packages_apps_CarrierConfig-a7778fc09a61d1f5b3e00878da52848ef60e366d.tar.bz2
Adding config values for triggering CI action on System update.
Bug: 21603815 Change-Id: I401099a9aeced578ee914ddbebf1f5982f276780
Diffstat (limited to 'src')
-rw-r--r--src/com/android/carrierconfig/DefaultCarrierConfigService.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/carrierconfig/DefaultCarrierConfigService.java b/src/com/android/carrierconfig/DefaultCarrierConfigService.java
index 6df91ff..1a52946 100644
--- a/src/com/android/carrierconfig/DefaultCarrierConfigService.java
+++ b/src/com/android/carrierconfig/DefaultCarrierConfigService.java
@@ -184,6 +184,14 @@ public class DefaultCarrierConfigService extends CarrierService {
config001010.putBoolean(CarrierConfigManager.KEY_CARRIER_VOLTE_AVAILABLE_BOOL, true);
config001010.putBoolean(CarrierConfigManager.KEY_SHOW_APN_SETTING_CDMA_BOOL, true);
config20404.putBoolean(CarrierConfigManager.KEY_DISABLE_CDMA_ACTIVATION_CODE_BOOL, true);
+ // Following 4 configs should go in vendor.xml & they are for a specific gid (BAE0000000000000)
+ config20404.putBoolean(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, true);
+ config20404.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING,
+ "com.android.omadm.service.CONFIGURATION_UPDATE");
+ config20404.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING,
+ "ServerID");
+ config20404.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING,
+ "com.vzwdmserver");
config20801.putInt(CarrierConfigManager.KEY_VVM_PORT_NUMBER_INT, 20481);
config20801.putString(CarrierConfigManager.KEY_CARRIER_VVM_PACKAGE_NAME_STRING,
"com.orange.vvm");
@@ -217,6 +225,14 @@ public class DefaultCarrierConfigService extends CarrierService {
config310004.putBoolean(CarrierConfigManager.KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL,
true);
config310004.putInt(CarrierConfigManager.KEY_VOLTE_REPLACEMENT_RAT_INT, 6);
+ // Following 4 configs should go in vendor.xml
+ config310004.putBoolean(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, true);
+ config310004.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING,
+ "com.android.omadm.service.CONFIGURATION_UPDATE");
+ config310004.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING,
+ "ServerID");
+ config310004.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING,
+ "com.vzwdmserver");
config310005.putBoolean(CarrierConfigManager.KEY_APN_EXPAND_BOOL, false);
config310005.putBoolean(CarrierConfigManager.KEY_OPERATOR_SELECTION_EXPAND_BOOL, true);
config310005.putBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL, false);
@@ -322,6 +338,14 @@ public class DefaultCarrierConfigService extends CarrierService {
config311480.putBoolean(CarrierConfigManager.KEY_VOICEMAIL_NOTIFICATION_PERSISTENT_BOOL,
true);
config311480.putInt(CarrierConfigManager.KEY_VOLTE_REPLACEMENT_RAT_INT, 6);
+ // Following 4 configs should go in vendor.xml
+ config311480.putBoolean(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_BOOL, true);
+ config311480.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_INTENT_STRING,
+ "com.android.omadm.service.CONFIGURATION_UPDATE");
+ config311480.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_STRING,
+ "ServerID");
+ config311480.putString(CarrierConfigManager.KEY_CI_ACTION_ON_SYS_UPDATE_EXTRA_VAL_STRING,
+ "com.vzwdmserver");
config311481.putBoolean(CarrierConfigManager.KEY_APN_EXPAND_BOOL, false);
config311481.putBoolean(CarrierConfigManager.KEY_OPERATOR_SELECTION_EXPAND_BOOL, true);
config311481.putBoolean(CarrierConfigManager.KEY_PREFER_2G_BOOL, false);