Merge \"Remove relayouts b/29945805\" into ub-launcher3-calgary

am: 7111a26813

Change-Id: I0156d8f0b69609dda7be16add216f08e8e5056f7
This commit is contained in:
Hyunyoung Song
2016-07-04 08:58:59 +00:00
committed by android-build-merger
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -220,11 +220,10 @@ public class Hotseat extends FrameLayout
}
public void setBackgroundTransparent(boolean enable) {
// This causes re-layout. Should replace the logic with simply setting the background alpha
if (enable) {
setBackground(null);
mBackground.setAlpha(0);
} else {
setBackground(mBackground);
mBackground.setAlpha(255);
}
}
@@ -444,5 +444,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
if (!mLauncher.isAllAppsVisible()) {
setProgress(mShiftRange);
}
mHotseat.removeOnLayoutChangeListener(this);
}
}