Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 974305c2 authored by Daniel Norman's avatar Daniel Norman
Browse files

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
parent 4fcb6f4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment