Abstract out common code for managing a single instance remote callback
- Pull code that manages the lifecycle of the callback into its own class which takes care of cleaning up any callback references and also listening for when the binder dies - Removing some boilerplate code Bug: 202740477 Test: atest WMShellUnitTests Change-Id: I7ff4c876fc14291d6523c2c62a7c453a01d96294
Showing
- libs/WindowManager/Shell/src/com/android/wm/shell/common/SingleInstanceRemoteListener.java 123 additions, 0 deletions...android/wm/shell/common/SingleInstanceRemoteListener.java
- libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/PipController.java 39 additions, 41 deletions...ell/src/com/android/wm/shell/pip/phone/PipController.java
- libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/SplitScreenController.java 10 additions, 53 deletions...m/android/wm/shell/splitscreen/SplitScreenController.java
- libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/StartingWindowController.java 12 additions, 40 deletions...id/wm/shell/startingsurface/StartingWindowController.java
- libs/WindowManager/Shell/src/com/android/wm/shell/transition/ShellTransitions.java 3 additions, 3 deletions...src/com/android/wm/shell/transition/ShellTransitions.java
- libs/WindowManager/Shell/src/com/android/wm/shell/transition/Transitions.java 0 additions, 18 deletions...hell/src/com/android/wm/shell/transition/Transitions.java
- packages/SystemUI/src/com/android/systemui/SystemUIFactory.java 2 additions, 1 deletion...es/SystemUI/src/com/android/systemui/SystemUIFactory.java
Loading
Please register or sign in to comment