Loading services/core/java/com/android/server/wm/InputMonitor.java +1 −1 Original line number Diff line number Diff line Loading @@ -543,7 +543,7 @@ final class InputMonitor { if (recentsAnimationController.updateInputConsumerForApp( mRecentsAnimationInputConsumer.mWindowHandle)) { mRecentsAnimationInputConsumer.show(mInputTransaction, recentsAnimationController.getHighestLayerTask()); recentsAnimationController.getHighestLayerActivity()); mAddRecentsAnimationInputConsumerHandle = false; } } Loading services/core/java/com/android/server/wm/RecentsAnimationController.java +3 −3 Original line number Diff line number Diff line Loading @@ -1103,9 +1103,9 @@ public class RecentsAnimationController implements DeathRecipient { } /** * Returns the task with the highest layer, or null if none is found. * Returns the activity with the highest layer, or null if none is found. */ public Task getHighestLayerTask() { public ActivityRecord getHighestLayerActivity() { int highestLayer = Integer.MIN_VALUE; Task highestLayerTask = null; for (int i = mPendingAnimations.size() - 1; i >= 0; i--) { Loading @@ -1116,7 +1116,7 @@ public class RecentsAnimationController implements DeathRecipient { highestLayerTask = adapter.mTask; } } return highestLayerTask; return highestLayerTask.getTopMostActivity(); } boolean isAnimatingTask(Task task) { Loading Loading
services/core/java/com/android/server/wm/InputMonitor.java +1 −1 Original line number Diff line number Diff line Loading @@ -543,7 +543,7 @@ final class InputMonitor { if (recentsAnimationController.updateInputConsumerForApp( mRecentsAnimationInputConsumer.mWindowHandle)) { mRecentsAnimationInputConsumer.show(mInputTransaction, recentsAnimationController.getHighestLayerTask()); recentsAnimationController.getHighestLayerActivity()); mAddRecentsAnimationInputConsumerHandle = false; } } Loading
services/core/java/com/android/server/wm/RecentsAnimationController.java +3 −3 Original line number Diff line number Diff line Loading @@ -1103,9 +1103,9 @@ public class RecentsAnimationController implements DeathRecipient { } /** * Returns the task with the highest layer, or null if none is found. * Returns the activity with the highest layer, or null if none is found. */ public Task getHighestLayerTask() { public ActivityRecord getHighestLayerActivity() { int highestLayer = Integer.MIN_VALUE; Task highestLayerTask = null; for (int i = mPendingAnimations.size() - 1; i >= 0; i--) { Loading @@ -1116,7 +1116,7 @@ public class RecentsAnimationController implements DeathRecipient { highestLayerTask = adapter.mTask; } } return highestLayerTask; return highestLayerTask.getTopMostActivity(); } boolean isAnimatingTask(Task task) { Loading