Allow Recents transitions to collect in parallel
We can't fully support parallel transition collection, but we can for specific cases (like recents). This CL adds some hard-coded checks for recents specifically and allows it to collect in parallel with activity-only transitions. This is basically way of assigning "priority" to recents since it is a very user-forward operation and an integral part of how users percieve device performance. Bug: 277838915 Bug: 264536014 Test: In the running task, launch a slow-to-draw activity, then swipe to recents or home. It should not wait anymore. Change-Id: Ie09e31bf290847b108578b688f57360536fe7f4e
Showing
- core/java/android/app/ActivityOptions.java 5 additions, 2 deletionscore/java/android/app/ActivityOptions.java
- data/etc/services.core.protolog.json 24 additions, 6 deletionsdata/etc/services.core.protolog.json
- services/core/java/com/android/server/wm/Transition.java 30 additions, 2 deletionsservices/core/java/com/android/server/wm/Transition.java
- services/core/java/com/android/server/wm/TransitionController.java 74 additions, 1 deletion...core/java/com/android/server/wm/TransitionController.java
- services/core/java/com/android/server/wm/WindowOrganizerController.java 1 addition, 0 deletions...java/com/android/server/wm/WindowOrganizerController.java
Loading
Please register or sign in to comment