Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1d64730 authored by Jack Yu's avatar Jack Yu
Browse files

Added a settings for CMAS message broadcast

This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Merged-In: Ic29be11b641f185219146d7fbb05561f5907ea76
Change-Id: Ic29be11b641f185219146d7fbb05561f5907ea76
parent b4234e6a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -6415,6 +6415,12 @@ public final class Settings {
         */
        public static final String DEVICE_PAIRED = "device_paired";

        /**
         * Specifies additional package name for broadcasting the CMAS messages.
         * @hide
         */
        public static final String CMAS_ADDITIONAL_BROADCAST_PKG = "cmas_additional_broadcast_pkg";

        /**
         * This are the settings to be backed up.
         *
+2 −2
Original line number Diff line number Diff line
@@ -2683,6 +2683,6 @@
    <!-- An array of packages for which notifications cannot be blocked. -->
    <string-array translatable="false" name="config_nonBlockableNotificationPackages" />

    <!-- Component name of the default cell broadcast receiver -->
    <string name="config_defaultCellBroadcastReceiverComponent" translatable="false">com.android.cellbroadcastreceiver/.PrivilegedCellBroadcastReceiver</string>
    <!-- Package name of the default cell broadcast receiver -->
    <string name="config_defaultCellBroadcastReceiverPkg" translatable="false">com.android.cellbroadcastreceiver</string>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -2741,5 +2741,5 @@
<!-- Network Recommendation -->
  <java-symbol type="array" name="config_networkRecommendationPackageNames" />

  <java-symbol type="string" name="config_defaultCellBroadcastReceiverComponent" />
  <java-symbol type="string" name="config_defaultCellBroadcastReceiverPkg" />
</resources>