mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Hide shelf in 2-Button Landscape
Disable overview rotation in 2-Button until we can figure out the correct transition/animation. TODO: b/154665738 Fixes: 154181816 Test: Tested no button and 2 button, overview actions worked as before. Change-Id: Ib67906b11e24def870a39f57b5156e29db258fd7
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