Support Live Tile in Quickstep (Pt1) - Z ordering
- Place Launcher above app surface. - Use LauncherLayoutListener to clear the area where the current task is in order to punch a hole and reveal the app view underneath Bug: 111697218 Test: Manual test Change-Id: I4d4e0f1113a8e60566257c030ae9b591789eb3b3
This commit is contained in:
1 parent
e3f664db79
commit
d43e7c2fd4
7 files changed
+75
-22
No files matched your search
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.android.launcher3.uioverrides;
|
||||
|
||||
import static com.android.launcher3.AbstractFloatingView.TYPE_QUICKSTEP_PREVIEW;
|
||||
import static com.android.launcher3.LauncherAnimUtils.ALL_APPS_TRANSITION_MS;
|
||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_2;
|
||||
|
||||
@@ -44,7 +45,7 @@ public class AllAppsState extends LauncherState {
|
||||
|
||||
@Override
|
||||
public void onStateEnabled(Launcher launcher) {
|
||||
AbstractFloatingView.closeAllOpenViews(launcher);
|
||||
AbstractFloatingView.closeAllOpenViewsExcept(launcher, TYPE_QUICKSTEP_PREVIEW);
|
||||
dispatchWindowStateChanged(launcher);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user