Add a developer option which allows non-resizables in freeform

Bug: 138594779
Test: manual + pref test
Change-Id: I1620189799dc83cb1c255ca30c4ef29e73e73756
This commit is contained in:
Evan Rosky
2019-09-20 17:17:09 -07:00
parent a40bf2aec2
commit f55bd86185
5 changed files with 196 additions and 0 deletions

View File

@@ -11076,6 +11076,10 @@
<string name="force_desktop_mode">Force desktop mode</string>
<!-- UI debug setting: force desktop mode summary [CHAR LIMIT=NONE] -->
<string name="force_desktop_mode_summary">Force experimental desktop mode on secondary displays</string>
<!-- UI debug setting: enable non-resizables in freeform [CHAR LIMIT=50] -->
<string name="enable_sizecompat_freeform">Enable freeform sizecompat</string>
<!-- UI debug setting: enable non-resizables in freeform summary [CHAR LIMIT=NONE] -->
<string name="enable_sizecompat_freeform_summary">Allows sizecompat apps to be in freeform</string>
<!-- UI debug setting: Force enable "smart dark" UI rendering feature [CHAR LIMIT=60] -->
<string name="hwui_force_dark_title">Override force-dark</string>

View File

@@ -542,6 +542,11 @@
android:title="@string/force_desktop_mode"
android:summary="@string/force_desktop_mode_summary" />
<SwitchPreference
android:key="enable_sizecompat_freeform"
android:title="@string/enable_sizecompat_freeform"
android:summary="@string/enable_sizecompat_freeform_summary" />
<Preference
android:key="reset_shortcut_manager_throttling"
android:title="@string/reset_shortcut_manager_throttling" />