diff options
author | Heemin Seog <hseog@google.com> | 2019-10-24 09:36:34 -0700 |
---|---|---|
committer | Heemin Seog <hseog@google.com> | 2019-10-30 09:51:59 -0700 |
commit | 2ddd339d88682fc49dc516979f631436d4c36e96 (patch) | |
tree | e4e99576a3651f3d35026ef1d8b71115d1bcc954 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 90572cb3c6c9546c8b0546dc43978545425ad16f (diff) |
Make the default user the current user (not 0)
In #clearValuesAndCheck, values are placed in the value map based on a
key that depends on the current user. When these values are checked
in #call, it uses default user 0 (unless CALL_METHOD_USER_KEY is
populated).
Considering we don't even use getStringForUser when checking the values,
it seems to make sense to check against the userId used to set the
values in #clearValuesAndCheck.
Bug: 143529292
Bug: 143480221
Test: atest VolumeDialogControllerImplTest before and after the patch
Merged-In: I0ee9313b1394515d9405344482dc1779d15c0819
Change-Id: I0ee9313b1394515d9405344482dc1779d15c0819
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions