Merge "Provide the back callback instance when unregistering it from SysUI." into tm-dev am: eba6a95a29 am: 7ebf29a492

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17650016

Change-Id: Ie6d17a7d8c32f707508b52ab0e51e49da4df88d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot authored and Automerger Merge Worker committed 2022-05-02 16:58:11 +00:00
commit 35dd2720f1
2 files changed
+40 -28

No files matched your search

@@ -851,8 +851,14 @@ public class SystemUiProxy implements ISystemUiProxy, DisplayController.DisplayI
}
}
/** Clears the previously registered {@link IOnBackInvokedCallback}. */
public void clearBackToLauncherCallback() {
/** Clears the previously registered {@link IOnBackInvokedCallback}.
*
* @param callback The previously registered callback instance.
*/
public void clearBackToLauncherCallback(IOnBackInvokedCallback callback) {
if (mBackToLauncherCallback != callback) {
return;
}
mBackToLauncherCallback = null;
if (mBackAnimation == null) {
return;