diff options
| author | 2023-08-24 21:26:51 -0700 | |
|---|---|---|
| committer | 2023-08-29 21:56:12 +0000 | |
| commit | 72e7950da9302dcc7e61c51223b12021bdebe051 (patch) | |
| tree | 7fa0f244b76e6fd4e2ef4294cb70fd0862fa99b4 /libs/androidfw/StringPool.cpp | |
| parent | eb1f79278ada0a19f1990b4f8b8c7e59262480d6 (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
Merged-In: Ia3a06575fdad99c8fe3811d64a5879d3dabe854e
(cherry picked from commit 00039da35fe42e8f35249c929430bb34147b4fe1)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions