summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-07-30 14:36:52 -0400
committerFabian Kozynski <kozynski@google.com>2019-07-31 17:06:27 +0000
commit6a27f50138f6ab5a7f3141617e60e37bbb660be4 (patch)
tree87dcbf5eb4273c6aab60f5d66c38fcb56515f4fb /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent11d2f96544a170b77d4c7e0fd030a192b94e72c8 (diff)
Mitigate IPC calls from MultiUserSwitcher
Reduce the calls to UserManager#hasUserRestriction when checking if the switcher should be shown by reordering the conditions. In most cases, the switcher is disabled (from settings) and it will short circuit. TODO: actually remove the call from main thread Test: manual, when device does not have multiple users, there are no calls to UserManager Bug: 138640355 Bug: 138661450 Change-Id: I35905d4d8a7194866f55009b86dff0a2a4214e1a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions