Skip to content
Commit f9f1e92c authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Minor cleanup of Task

- Remove duplicated invocations of allPausedActivitiesComplete.
- Reorder condition in shouldSleepActivities.
  Because isKeyguardGoingAway is much cheaper and usually false.
  While isFocusedRootTaskOnDisplay needs to iterate hierarchy.
- Remove unused methods.

Bug: 163976519
Test: CtsWindowManagerDeviceTestCases
Change-Id: I09c3dd8d33c4bf0fa899214e22ad41b72ff02735
parent 0a35d1d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment