diff options
author | Bill Lin <lbill@google.com> | 2020-09-17 17:22:08 +0800 |
---|---|---|
committer | Bill Lin <lbill@google.com> | 2020-09-21 16:54:25 +0800 |
commit | d5c1ec0ad9877508007d615e52e47c768feae7ec (patch) | |
tree | 2926d24d37e47a871c8b9de6a1807b0660c7fd61 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 692483238d84f18b597b37b32ce9fa2d405a1a69 (diff) |
Add Unit Tests to guarantee non Pip feature device quality
Since Android Go disabled PIP feature, the current PIP arch
register a bunch of callback at ctor, however, with dagger's
mechanism it's not easy to predict which pip components was inited
and register callback, that could introduce NPE unexpectly.
Adding more test to verify disabled pip is a good option
Adding new unit tests for PIP :
+ PipControllerTest
+ PipTaskOrganizerTest
+ OverviewProxyServiceTest
Test: atest PipControllerTest
Test: atest PipTaskOrganizerTest
Test: atest WMShellTest
Test: make SystemUI
Test: make ArcSystemUI
Test: make WMShellUnitTests
Test: lunch aosp_tv_arm-userdebug & make
Test: atest SystemUITests
Test: atest WindowManagerShellTests
Test: atest WMShellUnitTests
Test: adb shell input keyevent 171(KEYCODE_WINDOW)
Test: manual test Pip demo AP
Test: adb shell dumpsys activity service com.android.systemui
Bug: 168715160
Change-Id: Idee90d00265d2ced629d4ba4eb0bb85c2a7905ac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions