Extract assistant logic from NavigationBar to share with Taskbar
* Added logic into already existing class used for A11y, renamed that to NavbarHelper * Prevent destory() in TaskbarDelegate from being called without init() call first Bug: 204273914 Test: Assistant is invokable on launcher unfolded in gesture nav Change-Id: Ic3232f375c68fd444c7378bc8ddd5a9b6991bd69
Showing
- packages/SystemUI/src/com/android/systemui/navigationbar/NavBarHelper.java 246 additions, 0 deletions.../src/com/android/systemui/navigationbar/NavBarHelper.java
- packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBar.java 40 additions, 77 deletions...src/com/android/systemui/navigationbar/NavigationBar.java
- packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarA11yHelper.java 0 additions, 90 deletions...droid/systemui/navigationbar/NavigationBarA11yHelper.java
- packages/SystemUI/src/com/android/systemui/navigationbar/NavigationBarController.java 2 additions, 2 deletions...droid/systemui/navigationbar/NavigationBarController.java
- packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java 44 additions, 9 deletions...c/com/android/systemui/navigationbar/TaskbarDelegate.java
- packages/SystemUI/tests/src/com/android/systemui/navigationbar/NavBarHelperTest.java 178 additions, 0 deletions.../com/android/systemui/navigationbar/NavBarHelperTest.java
- packages/SystemUI/tests/src/com/android/systemui/navigationbar/NavigationBarControllerTest.java 1 addition, 1 deletion...d/systemui/navigationbar/NavigationBarControllerTest.java
- packages/SystemUI/tests/src/com/android/systemui/navigationbar/NavigationBarTest.java 8 additions, 7 deletions...com/android/systemui/navigationbar/NavigationBarTest.java
Loading
Please register or sign in to comment