summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2022-05-10 00:06:16 +0000
committer Winson Chung <winsonc@google.com> 2022-05-10 06:04:29 +0000
commit12914242774a4ef67f1c4c94e7c71af109578f88 (patch)
tree0023a937521d02d9132581dd13fb59827da752fd /api/api.go
parent446df44b6e0c85e869fe69567952b6a98bf6cb57 (diff)
Use configuration for display rotation instead of display
- Unlike configuration updates, there are no synchronization guarantees with when a context's display information is updated, so in rare cases where a seamless display rotation happens, the nav bar can be resized and layout can happen before the context's display registers the new rotation, and in such cases we fail to update the button order to keep the button in the same physical position on the device. Bug: 228398192 Test: Open camera in 3 button nav, rotate a bunch of times Change-Id: I2769bc3fb4c069071b6984a0a22dfbe13cf13450
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions