From 958f00f396e1e7bf2edc4aa4e27fe11fa533b44a Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Fri, 1 Apr 2016 16:55:54 -0700 Subject: [PATCH] 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 --- core/java/com/android/internal/app/ResolverActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/core/java/com/android/internal/app/ResolverActivity.java b/core/java/com/android/internal/app/ResolverActivity.java index 0e02ed6f126d3..ff680e2002ac4 100644 --- a/core/java/com/android/internal/app/ResolverActivity.java +++ b/core/java/com/android/internal/app/ResolverActivity.java @@ -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() {