diff options
| author | 2023-06-26 10:58:42 +0000 | |
|---|---|---|
| committer | 2023-07-06 12:59:07 +0000 | |
| commit | efe48f784045b78cc47319ad0719f515a65f7edb (patch) | |
| tree | 2620187adbf6bbd6ddcedc94d1f3f260d2184054 /libs/androidfw/FileStream.cpp | |
| parent | 43d8d44eb7d518fba2d55422c2a0892f5b006b77 (diff) | |
Add 'Stay unlocked on fold' toogle to settings
Added 'Stay unlocked on fold' toogle to display settings. Enabling this
setting will allow user to keep their device awake after the fold the
device.
Test: atest StayAwakeOnFoldPreferenceControllerTest LogicalDisplayMapperTest
Test: manual
Built and flashed foldable device and manually tested by
1. unfolded device -> enable setting -> folded device
2. unfolded device -> disabled setting -> folded devices
Built and flashed non-foldable device and manually tested by
1. Went to Settings -> display -> the toogle setting is not visible
Bug: 274447767
Change-Id: I09915082b759c235811fc143184a19e2b84f1c8e
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions