commit | 974305c21ec0b3cd8f54f4cac32ca45ad39c41b1 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Mon Feb 06 14:04:07 2023 -0800 |
committer | Daniel Norman <danielnorman@google.com> | Fri Feb 10 20:30:16 2023 +0000 |
tree | 626bfb7ed5e77a255eef1bba2c5d7f76d0f48a7a | |
parent | 4fcb6f4ebd3c9c17660fc641b64d7054c0dc8154 [diff] |
Uses DisplayManager to get default display for landscape layout. The previous mLayout.getDisplay() was returning null, causing this code path to trigger a NPE in display.getRotation() for landscape devices. Bug: 261252772 Test: Install AccessibilityMenu on a large-screen device. Enable the a11y service and interact with the UI. Change-Id: Ie4f96ba22e9874c81d70b5ad449c3ead5da437ff