Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21a955b2 authored by Louis Chang's avatar Louis Chang
Browse files

Use the alternative #removeTask API to log the remove reason

Bug: 429501479
Test: wm presubmit
Flag: EXEMPT log only
Change-Id: Ie5ffef33413f79348e2204a3119ecaf386309bb9
parent 0be57dd5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3683,7 +3683,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                                            + " root task is null" );
                            return;
                        }
                        mActivityManagerService.removeTask(currentRootTask.taskId);
                        mActivityTaskManagerInternal.removeTask(currentRootTask.taskId,
                                "key-gesture-quit");
                    } catch (RemoteException e) {
                        Slog.e(TAG,
                                "onKeyGesture: KEY_GESTURE_TYPE_QUIT_FOCUSED_TASK failed to close"