summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorAlan Stokes <alanstokes@google.com>2019-12-17 15:33:12 +0000
committerAlan Stokes <alanstokes@google.com>2019-12-19 15:43:45 +0000
commit20fbef220f5a5f7dd7cb2554411b73a23cddd85b (patch)
treece88a1c86f1c10822e4d56d9fad84e2c45652d88 /rs/java/android/renderscript/ProgramStore.java
parent85d68cd334638f02b62baad96ca0a4b6bc158b85 (diff)
Refactor getPackagesForSharedUid.
Replace gstSharedUserIdForPackage() and getPackagesForSharedUserId() with a function to combine the two, getSharedUserPackagesForPackage(). This satisfies all the existing use cases with reasonably clean semantics, and avoids the need to special-case the situation where the package doesn't have a shared UID. Clarify that the result is never null, and remove some redundant null checks. Fixes: 146418551 Test: atest PackageManagerTests Change-Id: I8f34c9071434f908893437a5c6c89defaa5fd576
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions