diff options
| author | 2023-08-24 21:26:51 -0700 | |
|---|---|---|
| committer | 2023-08-25 16:29:50 -0700 | |
| commit | 00039da35fe42e8f35249c929430bb34147b4fe1 (patch) | |
| tree | ed0f59c65a0b8ad7772e29e9319dc6b505bae2c9 /libs/androidfw/ZipFileRO.cpp | |
| parent | 10c09e60e58df9ddb8e2ebce7537cb6f5142456c (diff) | |
Fix NullPointerException in ControlsRequestDialogTest
When the @NonNull and @Nullable annotations are fixed to be class
retention it triggered an NullPointerException in ControlsRequestDialogTest:
08-25 00:58:09.852 1000 23910 23932 E TestRunner: java.lang.NullPointerException: eq(...) must not be null
08-25 00:58:09.852 1000 23910 23932 E TestRunner: at com.android.systemui.controls.management.ControlsRequestDialogTest.testDialogAddsCorrectControl(ControlsRequestDialogTest.kt:138)
com.android.systemui.util.mockito.eq should probably be replaced with
org.mockito.kotlin.eq, but for now just copy org.mockito.kotlin.eq
by adding "?: obj".
Bug: 294110802
Test: atest SystemUITests
Change-Id: Ia3a06575fdad99c8fe3811d64a5879d3dabe854e
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions