diff options
author | Jack Yu <jackyu@google.com> | 2019-12-05 16:29:59 -0800 |
---|---|---|
committer | Jack Yu <jackyu@google.com> | 2019-12-07 16:57:53 -0800 |
commit | 28048d039b7e9c7fab7a98f4ad1303f4fa6a0342 (patch) | |
tree | 213e1c2d78f0d0bc7d7fd39472a49cf330c0fd37 /AndroidManifest_Platform.xml | |
parent | 62706ebf751c465406665c1aa43119bc59660454 (diff) | |
download | CellBroadcastReceiver-28048d039b7e9c7fab7a98f4ad1303f4fa6a0342.tar.gz |
Added toggling testing mode via secret code support
By dialing *#*#CMAS#*#* on the debug build, we can
toggle the cell broadcast testing mode. For example,
testing alert toggle is hidden for Japanese users, by
dialing this code, the toggle will show up for testers
to enable. In the future we will add hidden menu for
different carrier requirement (e.g. DBGF alert menu).
Test: Manual
Bug: 144230993
Change-Id: If4121d939457dfbb5907d1655b32153f3f6947fc
Diffstat (limited to 'AndroidManifest_Platform.xml')
-rw-r--r-- | AndroidManifest_Platform.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest_Platform.xml b/AndroidManifest_Platform.xml index ae7957ed2..fafa62626 100644 --- a/AndroidManifest_Platform.xml +++ b/AndroidManifest_Platform.xml @@ -125,6 +125,9 @@ <intent-filter> <action android:name="android.telephony.action.DEFAULT_SMS_SUBSCRIPTION_CHANGED" /> <action android:name="android.telephony.action.CARRIER_CONFIG_CHANGED" /> + <action android:name="android.telephony.action.SECRET_CODE" /> + <!-- CMAS: To toggle test mode for cell broadcast testing on userdebug build --> + <data android:scheme="android_secret_code" android:host="2627" /> </intent-filter> </receiver> |