Fix all apps becoming clipped when screen is rotated with all apps opened.

b/30040068

Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244
This commit is contained in:
Hyunyoung Song
2016-07-12 11:14:41 -07:00
parent 7ed42af339
commit ca7f30f7cf
3 changed files with 15 additions and 16 deletions
@@ -256,7 +256,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
private void updateLightStatusBar(float progress) {
boolean enable = (progress < mStatusBarHeight / 2);
boolean enable = progress <= mStatusBarHeight / 2;
// Do not modify status bar on landscape as all apps is not full bleed.
if (mLauncher.getDeviceProfile().isVerticalBarLayout()) {
return;
@@ -404,7 +404,7 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
}
private void finishPullUp() {
public void finishPullUp() {
mHotseat.setVisibility(View.INVISIBLE);
setProgress(0f);
}