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
1 file changed