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:
@@ -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]-->
|
||||
|
||||
@@ -252,6 +252,11 @@
|
||||
android:title="@string/force_high_refresh_rate_toggle"
|
||||
android:summary="@string/force_high_refresh_rate_desc" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="allow_mock_modem"
|
||||
android:title="@string/allow_mock_modem"
|
||||
android:summary="@string/allow_mock_modem_summary" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user