summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24
diff options
context:
space:
mode:
authorJamie Garside <jgarside@google.com>2020-11-27 16:13:50 +0000
committerJamie Garside <jgarside@google.com>2021-01-15 11:04:14 +0000
commitc7200e18ef28f64e76680c8a3073b0450c5df6b2 (patch)
tree5403b574f29f8373445321ef87c6178f1688485d /docs/html/sdk/api_diff/24
parent99801ee183db5bacf751111ac440ec7e612778fa (diff)
Add ability to rotate screen in AoD.
This patch prevents DisplayRotation from disabling the OrientationListener when the screen turns off, if and only if the underlying sensor is a wakeup device_orientation sensor (i.e. we don't have to keep the AP on to keep listening). This then allows the AoD on the device to rotate. Since many devices doesn't have a wake orienation sensor, a config flag is provided to force this behaviour on (although note that the AoD might not rotate if the AP shuts down). This can be enabled by setting config_forceOrientationListenerEnabledWhileDreaming to true. Test: Not yet, finding tests... Change-Id: Ie1ee8e297ebe9a8a73793d07f173bada8e0699f1
Diffstat (limited to 'docs/html/sdk/api_diff/24')
0 files changed, 0 insertions, 0 deletions