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
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user