summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFelka Chang <felkachang@google.com>2020-09-24 17:03:32 +0800
committerFelka Chang <felkachang@google.com>2020-09-26 10:31:40 +0800
commit63a2ede196d88d57a4d6da3f010973524b284571 (patch)
treecb2fbbc93ec760de6fa803af7daeab5b8cb29cc1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenteab871a7c3a55e55558de6bfa58a8ee1bdcd0870 (diff)
Fix the RemoteInputViewTest mock user context
SystemUI needs to handle multiple user environment but the systemuitest doesn't simulate appropriately. To use spy mocks the Context.createContextAsUser. When the test is running, the real environment doesn't have the such user. That's why the IllegalStateException comes out. Fixes: 169302704 Test: TID="SystemUITests"; \ PACKAGE_NAME="com.android.systemui.statusbar.policy"; \ TEST_CLASS="RemoteInputViewTest"; \ atest "${TID}:${PACKAGE_NAME}.${TEST_CLASS}" Change-Id: I3041226496c641dad11b415173675e09186d318a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions