Refine fold setting
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting. Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v) *Always - Front display turns on when you fold your device [Currently available setting] *Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default] *Never - Front display locks when you fold your device [New option for user] Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest *Manual Flash the build with these changes Manually select options one by one Observe the behavior Fixes: 294194379 Change-Id: I59e8ba653bdac397eec0be60b931dc1c6649843c Merged-In: I59e8ba653bdac397eec0be60b931dc1c6649843c
This commit is contained in:
parent
13cde940f7
commit
eb1b08f16b
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@
|
|||
this value to 0 so it has no effect. -->
|
||||
<integer name="config_defaultRefreshRate">0</integer>
|
||||
|
||||
<!-- Whether to show Fold lock behavior setting feature in Settings App -->
|
||||
<bool name="config_fold_lock_behavior">true</bool>
|
||||
|
||||
<!-- The default peak refresh rate. -->
|
||||
<integer name="config_defaultPeakRefreshRate">120</integer>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue