All apps icons should become clickable

b/29761088
b/29610290

> Workspace transition state was not being properly set which
caused onClick to not allow apps to launch. Temporary solution:
do not call the onLauncherTransitionPrepare inside
AllAppsTransitionController.

> Fixing another important bug which doesn't properly set workspace
state to correct alpha value because hotseat background drawable
is null when home is triggered from settings app after wallpaper is
changed. The color extractor has not figured out how hotseat drawable
color should be set to immediately after wallpaper change.

Change-Id: I9f797dbda6c73c71816e5070ed4da37099b26a6d
This commit is contained in:
Hyunyoung Song
2016-06-28 16:38:18 -07:00
parent f50b3cb3cb
commit 67def6cef1

View File

@@ -256,8 +256,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
mAppsView.getRevealView().setAlpha(mHotseatBackgroundAlpha);
setProgress(mShiftRange);
} else {
// TODO: get rid of this workaround to override state change by workspace transition
mWorkspace.onLauncherTransitionPrepare(mLauncher, false, false);
View child = ((CellLayout) mWorkspace.getChildAt(mWorkspace.getNextPage()))
.getShortcutsAndWidgets();
child.setVisibility(View.VISIBLE);
@@ -419,9 +417,6 @@ public class AllAppsTransitionController implements TouchController, VerticalPul
}
public void finishPullDown() {
if (mHotseat.getBackground() != null) {
return;
}
mAppsView.setVisibility(View.INVISIBLE);
mHotseat.setBackgroundTransparent(false /* transparent */);
mHotseat.setVisibility(View.VISIBLE);