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

Commit 51dbc658 authored by Shoki Inoka's avatar Shoki Inoka Committed by takeshi tanigawa
Browse files

Make IMS supported Call Barring MMI codes customizable

Add a new config which indicates supported call barring
MMI codes for IMS.

Test: manual - Checked the correct handling of call barring MMI request
according to new resource config.
Bug: 141349920
Change-Id: Id9bb61682bb23989f4ff889978459ab4147bbdf7
parent 0b51af25
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,4 +23,6 @@
         and "333" is used for other purpose -->
    <string-array translatable="false" name="config_callBarringMMI">
    </string-array>
    <string-array translatable="false" name="config_callBarringMMI_for_ims">
    </string-array>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -23,4 +23,6 @@
         and "333" is used for other purpose -->
    <string-array translatable="false" name="config_callBarringMMI">
    </string-array>
    <string-array translatable="false" name="config_callBarringMMI_for_ims">
    </string-array>
</resources>
+12 −0
Original line number Diff line number Diff line
@@ -2797,6 +2797,18 @@
        <item>353</item>
    </string-array>

    <!-- Ims supported call barring MMI code -->
    <string-array translatable="false" name="config_callBarringMMI_for_ims">
        <item>33</item>
        <item>331</item>
        <item>332</item>
        <item>35</item>
        <item>351</item>
        <item>330</item>
        <item>333</item>
        <item>353</item>
    </string-array>

    <!-- Override the default detection behavior for the framework method
         android.view.ViewConfiguration#hasPermanentMenuKey().
         Valid settings are:
+1 −0
Original line number Diff line number Diff line
@@ -1312,6 +1312,7 @@
  <java-symbol type="array" name="config_cdma_dun_supported_types" />
  <java-symbol type="array" name="config_disabledUntilUsedPreinstalledImes" />
  <java-symbol type="array" name="config_callBarringMMI" />
  <java-symbol type="array" name="config_callBarringMMI_for_ims" />
  <java-symbol type="array" name="config_globalActionsList" />
  <java-symbol type="array" name="config_telephonyEuiccDeviceCapabilities" />
  <java-symbol type="array" name="config_telephonyHardware" />