Hide shelf in 2-Button Landscape
Disable overview rotation in 2-Button. Fixes: 154181816 Test: Tested no button and 2 button, overview actions worked as before. Change-Id: Ic22c791c7a93460840d54aaf0bf32884cc110e19
This commit is contained in:
1 parent
4cb77a60aa
commit
23681083b2
9 files changed
+63
-31
No files matched your search
@@ -91,6 +91,9 @@ public class InsettableFrameLayout extends FrameLayout implements Insettable {
|
||||
@Override
|
||||
public void onViewAdded(View child) {
|
||||
super.onViewAdded(child);
|
||||
if (!isAttachedToWindow()) {
|
||||
return;
|
||||
}
|
||||
setFrameLayoutChildInsets(child, mInsets, new Rect());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user