Merge "Fix janky in transition doze -> lockscreen" into lmp-mr1-dev

automerge: 09ba32c

* commit '09ba32c0ba9306bafa25e27a2fa7d6e53e9be715':
  Fix janky in transition doze -> lockscreen
This commit is contained in:
Jorim Jaggi
2014-11-05 16:37:13 +00:00
committed by android-build-merger
2 changed files with 5 additions and 2 deletions

View File

@@ -61,4 +61,9 @@ public class DismissViewImageButton extends ImageButton {
outRect.top += translationY; outRect.top += translationY;
outRect.bottom += translationY; outRect.bottom += translationY;
} }
@Override
public boolean hasOverlappingRendering() {
return false;
}
} }

View File

@@ -3074,8 +3074,6 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
} }
else if (Intent.ACTION_SCREEN_ON.equals(action)) { else if (Intent.ACTION_SCREEN_ON.equals(action)) {
mScreenOn = true; mScreenOn = true;
// work around problem where mDisplay.getRotation() is not stable while screen is off (bug 7086018)
repositionNavigationBar();
notifyNavigationBarScreenOn(true); notifyNavigationBarScreenOn(true);
} }
else if (ACTION_DEMO.equals(action)) { else if (ACTION_DEMO.equals(action)) {