Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77490a53 authored by Nigel Tao's avatar Nigel Tao
Browse files

[DocsUI] add a Kotlin not-null operator to test

Prior to this commit, running atest would complain: "warning: Java type
mismatch: inferred type is 'kotlin.String?', but 'kotlin.String' was
expected".

The warning-inducing code was introduced in
I606b4be35492e0a77e6c97c6bdf514ed80cbcde8

The compiler cannot prove that the taskId string cannot be null despite
the STACK_LIST_REGEX being hard-coded.

Bug: 435032907
Flag: EXEMPT test only
Test: atest DocumentsUIGoogleTests:com.android.documentsui.ContextMenuUiTest
Change-Id: I326253cd6d68b633762f3bff2f67017ac9091fa3
parent 556a1e92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment