mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
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:
@@ -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