Refactor one handed displayArea working flow
1) onDisplayAreaAppeared() callback N times separately 2) Cache all displayAreaInfos with a Map 3) Hook DisplayChangeController.OnDisplayChangingListener instead of onDisplayAreaInfoChanged() on handling rotation 4) Remove unused code in OneHandedTransitionAnimator 5) go/android-display-area-policy-builder Bug: 157123830 Test: atest com.android.systemui.onehanded Test: atest SystemUITests Test: atest OneHandedDisplayAreaOrganizerTest Change-Id: Ia73315d8ec7eaf8d8122c7830964be7cff6b836c
Loading
Please register or sign in to comment