mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Merge "Adding support for clearing overview suggestion state when overview is disabled" into udc-qpr-dev am: 830524d883 am: 646722fdaf
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24516473 Change-Id: If42b71351fa049457d4660f56dde56a9a375c6d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -122,6 +122,12 @@ public class TaskOverlayFactory implements ResourceBasedOverride {
|
||||
public void removeListeners() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Clears any active state outside of the TaskOverlay lifecycle which might have built
|
||||
* up over time
|
||||
*/
|
||||
public void clearAllActiveState() { }
|
||||
|
||||
/** Note that these will be shown in order from top to bottom, if available for the task. */
|
||||
private static final TaskShortcutFactory[] MENU_OPTIONS = new TaskShortcutFactory[]{
|
||||
TaskShortcutFactory.APP_INFO,
|
||||
|
||||
@@ -1396,6 +1396,7 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
|
||||
// its thumbnail
|
||||
mTmpRunningTasks = null;
|
||||
mSplitBoundsConfig = null;
|
||||
mTaskOverlayFactory.clearAllActiveState();
|
||||
}
|
||||
updateLocusId();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user