summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAnthony Hugh <ahugh@google.com>2019-10-17 17:02:50 -0700
committerAnthony Hugh <ahugh@google.com>2019-10-21 16:20:41 -0700
commitaa407a9cca0c3b6808a9d68636f6549e46643ecd (patch)
tree4555a35f58c0e77bbf97145de0a8da6572e56b45 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf4ded6d022f643173c486f925b7fae4d31786473 (diff)
Swap for more framework APIs
Swap CarUserManagerHelper.isUserLimitReached() with !UserManager.canAddMoreUsers(). Swap CarUserManagerHelper.canForegroundUserAddUsers() with UserManager.hasUserRestriction(). Implementation is the essentially the same, but UserManager APIs are better supported across the system. Bug: 131776619 Test: atest CarSettingsRoboTests Test: Manually play with UserPicker and changing max user size Test: adb shell pm set-user-restriction --user 10 no_add_user 1 Then verify add user button does not appear in UserPicker Change-Id: I8b44ada6423f2a14c11170d890740034c8e9d34f
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions