Re-landing Decouple systemui shared componements from PipController(8/N)
1) Add PipAppOpsListener, PipMediaController,PipMenuActivityController in WMShellModule scope, and provided by dagger 2) Move system/task listeners/callbacks to WMShell 3) Refactor tv/PipController 4) Create WindowManagerShellWrapper for WMShell features (Separate from WindowManagerWrapper) 5) Remove WindowManagerWrapper.setPipVisibility to adapt new approach 6) Hook dump throught WMShell 7) Decouple SysUI DeviceConfigProxy(Wrapper), use DeviceConfig instead Bug: 161118569 Bug: 165793553 Bug: 168715160 Fixes: 166181820 Test: make SystemUI Test: make ArcSystemUI Test: make WMShellUnitTests Test: lunch aosp_tv_arm-userdebug & make Test: atest CtsSystemUiTestCases:BasicPipTests Test: atest CtsSystemUiTestCases:CustomPipActionsTests Test: atest CtsSystemUiTestCases:FlickerPipTests Test: atest CtsSystemUiTestCases:PipNotificationTests Test: atest SystemUITests Test: atest WMShellUnitTests Test: manual test PIP demo AP Test: manual test TV PIP function Test: manual test disabled PIP Test: adb shell input keyevent 171(KEYCODE_WINDOW) Test: adb shell am start -n android.systemui.cts.tv.pip/.PipTestActivity -a android.systemui.cts.tv.pip.PipTestActivity.enter_pip Test: adb shell dumpsys activity service com.android.systemui Change-Id: Ic64e1de4a87d8722764a44257293e89babe4878f
Loading
Please register or sign in to comment