Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -883,6 +883,10 @@ public abstract class PanelView extends FrameLayout { new ViewTreeObserver.OnGlobalLayoutListener() { new ViewTreeObserver.OnGlobalLayoutListener() { @Override @Override public void onGlobalLayout() { public void onGlobalLayout() { if (!mInstantExpanding) { getViewTreeObserver().removeOnGlobalLayoutListener(this); return; } if (mStatusBar.getStatusBarWindow().getHeight() if (mStatusBar.getStatusBarWindow().getHeight() != mStatusBar.getStatusBarHeight()) { != mStatusBar.getStatusBarHeight()) { getViewTreeObserver().removeOnGlobalLayoutListener(this); getViewTreeObserver().removeOnGlobalLayoutListener(this); Loading @@ -907,6 +911,10 @@ public abstract class PanelView extends FrameLayout { if (mExpanding) { if (mExpanding) { notifyExpandingFinished(); notifyExpandingFinished(); } } if (mInstantExpanding) { mInstantExpanding = false; notifyBarPanelExpansionChanged(); } } } private void abortAnimations() { private void abortAnimations() { Loading services/core/java/com/android/server/wm/WindowManagerService.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -4409,7 +4409,11 @@ public class WindowManagerService extends IWindowManager.Stub if (wtoken.hidden || wtoken.mAppStopped) { if (wtoken.hidden || wtoken.mAppStopped) { wtoken.allDrawn = false; wtoken.allDrawn = false; wtoken.deferClearAllDrawn = false; wtoken.deferClearAllDrawn = false; // If the app was already visible, don't reset the waitingToShow state. if (wtoken.hidden) { wtoken.waitingToShow = true; wtoken.waitingToShow = true; } if (wtoken.clientHidden) { if (wtoken.clientHidden) { // In the case where we are making an app visible // In the case where we are making an app visible Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java +8 −0 Original line number Original line Diff line number Diff line Loading @@ -883,6 +883,10 @@ public abstract class PanelView extends FrameLayout { new ViewTreeObserver.OnGlobalLayoutListener() { new ViewTreeObserver.OnGlobalLayoutListener() { @Override @Override public void onGlobalLayout() { public void onGlobalLayout() { if (!mInstantExpanding) { getViewTreeObserver().removeOnGlobalLayoutListener(this); return; } if (mStatusBar.getStatusBarWindow().getHeight() if (mStatusBar.getStatusBarWindow().getHeight() != mStatusBar.getStatusBarHeight()) { != mStatusBar.getStatusBarHeight()) { getViewTreeObserver().removeOnGlobalLayoutListener(this); getViewTreeObserver().removeOnGlobalLayoutListener(this); Loading @@ -907,6 +911,10 @@ public abstract class PanelView extends FrameLayout { if (mExpanding) { if (mExpanding) { notifyExpandingFinished(); notifyExpandingFinished(); } } if (mInstantExpanding) { mInstantExpanding = false; notifyBarPanelExpansionChanged(); } } } private void abortAnimations() { private void abortAnimations() { Loading
services/core/java/com/android/server/wm/WindowManagerService.java +5 −1 Original line number Original line Diff line number Diff line Loading @@ -4409,7 +4409,11 @@ public class WindowManagerService extends IWindowManager.Stub if (wtoken.hidden || wtoken.mAppStopped) { if (wtoken.hidden || wtoken.mAppStopped) { wtoken.allDrawn = false; wtoken.allDrawn = false; wtoken.deferClearAllDrawn = false; wtoken.deferClearAllDrawn = false; // If the app was already visible, don't reset the waitingToShow state. if (wtoken.hidden) { wtoken.waitingToShow = true; wtoken.waitingToShow = true; } if (wtoken.clientHidden) { if (wtoken.clientHidden) { // In the case where we are making an app visible // In the case where we are making an app visible Loading