Add a developer option to controll mockmodemservice permission

Bug: 220995034
Test: 1.enable/disable from developer option and check the property value
      2.atest MockModemPreferenceControllerTest

Change-Id: Iaa1a29f4214e1208fe4de497ff4b05c47c34b266
This commit is contained in:
Gary Jian
2022-03-15 16:18:42 +08:00
parent 4041027433
commit 5a535e6674
5 changed files with 208 additions and 0 deletions

View File

@@ -13172,6 +13172,11 @@
<!-- Summary for allowing screen overlays on Settings app. [CHAR LIMIT=NONE]-->
<string name="overlay_settings_summary">Allow apps that can display over other apps to overlay Settings screens</string>
<!-- Developer settings: Title for allowing mock modem service for testing. [CHAR LIMIT=50]-->
<string name="allow_mock_modem">Allow Mock Modem</string>
<!-- Developer settings: Summary for allowing mock modem service. [CHAR LIMIT=NONE]-->
<string name="allow_mock_modem_summary">Allow this device to run Mock Modem service for instrumentation testing. Do not enable this during normal usage of the phone</string>
<!-- Title for media control settings [CHAR LIMIT=50]-->
<string name="media_controls_title">Media</string>
<!-- Title of toggle to enable or disable the media resumption feature in quick settings [CHAR LIMIT=50]-->