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

Commit 36446adf authored by Daniel Norman's avatar Daniel Norman Committed by Android (Google) Code Review
Browse files

Merge "setTheme for the accessibility menu" into main

parents 13f8b3fe 77796a2d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ public class A11yMenuOverlayLayout {
        final Display display = mDisplayManager.getDisplay(DEFAULT_DISPLAY);
        final Context uiContext = mService.createWindowContext(
                display, TYPE_ACCESSIBILITY_OVERLAY, /* options= */null);
        uiContext.setTheme(R.style.ServiceTheme);
        final WindowManager windowManager = uiContext.getSystemService(WindowManager.class);
        mLayout = new A11yMenuFrameLayout(uiContext);
        updateLayoutPosition(uiContext);