Settings: add a new developer menu entry to show refresh rate overlay
The refresh rate overlay will be shown on screen if the option is selected from the developer option. Test: enable show refresh rate from developer menu Bug: 129297325 Change-Id: Ic7b59fa93e1ca1e5649501eb87bda64c7a868fa1
This commit is contained in:
@@ -1774,6 +1774,11 @@
|
||||
<!-- Debugging developer settings: Enable ART verifier for Debuggable Apps [CHAR LIMIT=NONE] -->
|
||||
<string name="art_verifier_for_debuggable_summary">Allow ART to verify bytecode for debuggable apps</string>
|
||||
|
||||
<!-- Debugging developer settings: show refresh rate? [CHAR LIMIT=25] -->
|
||||
<string name="show_refresh_rate">Show refresh rate</string>
|
||||
<!-- Debugging developer settings: show refresh rate summary [CHAR LIMIT=50] -->
|
||||
<string name="show_refresh_rate_summary">Show the current display refresh rate</string>
|
||||
|
||||
<!-- NFC settings -->
|
||||
<!-- Used in the 1st-level settings screen to turn on NFC -->
|
||||
<string name="nfc_quick_toggle_title">NFC</string>
|
||||
|
||||
@@ -222,6 +222,11 @@
|
||||
android:fragment="com.android.settings.development.compat.PlatformCompatDashboard"
|
||||
/>
|
||||
|
||||
<SwitchPreference
|
||||
android:key="show_refresh_rate"
|
||||
android:title="@string/show_refresh_rate"
|
||||
android:summary="@string/show_refresh_rate_summary" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user