diff options
author | Edward Savage-Jones <edward.savage-jones@sonymobile.com> | 2015-12-09 21:16:50 +0100 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2019-02-23 10:18:21 +0800 |
commit | ce7a01fd782456be89a4fa65e73caca79ecb3bca (patch) | |
tree | eabd703313fc77eb3674c0e0bef010136d501dc4 /rs/java/android/renderscript/ProgramStore.java | |
parent | 870edccb68f30f0cca12063b8298a4057fb938f3 (diff) |
Control lid behaviour with a Global setting
Using a global setting to specify the lid open/close behaviour
allows OEMs to support switching between windowed and windowless
lids at runtime instead of build time.
Bug: 70378569
Test: Find the hall effect sensor on the device and then using a magnet
confirm the expected behaviour for each global setting:
* No reaction from device
adb shell settings put global lid_behavior 0
* Sleep/screen off
adb shell settings put global lid_behavior 1
* Lock screen but screen stays on
adb shell settings put global lid_behavior 2
Change-Id: I53682711aeaaeb9eead7246ba83e4dd4b3c06a58
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions