commit | ba78cb4529f1f883b5687c6ae453b0d8680c3cdd | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Tue Feb 15 16:47:57 2022 -0800 |
committer | Mady Mellor <madym@google.com> | Tue Feb 15 16:48:14 2022 -0800 |
tree | fbf3a317d1dcae806a89e98cf6b5b5d11208a2b6 | |
parent | db33f67f8ddbfb29acbe6fb57763cc2f029ec83b [diff] |
Don't use rotation to determine orientation Looking more closely at documentation, rotation doesn't work as I originally thought. ROTATION_0 is a device's *natural* resting state which is portrait on phones but can differ for tablets or foldables. The fix for this is to use the config value. Test: manual - check that bubbles layout correctly on large tablet Bug: 217211205 Change-Id: I3efc296d69d045be431b176f7acc71952b3f7bab