diff options
| author | 2023-08-24 21:26:51 -0700 | |
|---|---|---|
| committer | 2023-09-07 17:19:00 +0000 | |
| commit | f7b11f271ead86ecd3d1ceeb9d5ece030882b2a5 (patch) | |
| tree | 81ac40b62128127fc178f7449725c5b068141787 /libs/androidfw/AttributeResolution.cpp | |
| parent | 4fa24cbeb09e920caeece7aa5c3a8b2248599e49 (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
(cherry picked from commit 00039da35fe42e8f35249c929430bb34147b4fe1)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:72e7950da9302dcc7e61c51223b12021bdebe051)
Merged-In: Ia3a06575fdad99c8fe3811d64a5879d3dabe854e
Change-Id: Ia3a06575fdad99c8fe3811d64a5879d3dabe854e
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions