Fix for onTaskRemovalStarted callback being sent incorrectly

Bug: 34114125
Test: Manual - onTaskRemovalStarted is not sent when
activity requests different orientation.

Change-Id: I76e907b299ebf95de73e1f4ba142bb9857d6eda4
This commit is contained in:
Yorke Lee
2017-01-05 17:15:20 -08:00
parent 80239f6cc3
commit 64fd1ce256

View File

@@ -90,6 +90,7 @@ class TaskChangeNotificationController {
case NOTIFY_ACTIVITY_REQUESTED_ORIENTATION_CHANGED_LISTENERS:
forAllListeners((listener) -> listener.onActivityRequestedOrientationChanged(
msg.arg1, msg.arg2));
break;
case NOTIFY_TASK_REMOVAL_STARTED_LISTENERS:
forAllListeners((listener) -> listener.onTaskRemovalStarted(msg.arg1));
break;