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

Commit 958f00f3 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Do not clear INSCREEN and INSET_DECOR for resolver

Since we switched this activity to draw the system bar backgrounds,
and clearing these flags leads to that we don't get the insets
communicated, we need to remove the clearing of the flags.

Bug: 27914346
Change-Id: I72114ac7cec40933fa45891b3d1441bd30f883d4
parent 7af7e3d1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -243,10 +243,6 @@ public class ResolverActivity extends Activity {
            return;
        }

        // Prevent the Resolver window from becoming the top fullscreen window and thus from taking
        // control of the system bars.
        getWindow().clearFlags(FLAG_LAYOUT_IN_SCREEN|FLAG_LAYOUT_INSET_DECOR);

        final ResolverDrawerLayout rdl = (ResolverDrawerLayout) findViewById(R.id.contentPanel);
        if (rdl != null) {
            rdl.setOnDismissedListener(new ResolverDrawerLayout.OnDismissedListener() {