summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWinson <chiuwinson@google.com>2021-02-23 09:22:31 -0800
committerWinson <chiuwinson@google.com>2021-03-22 10:40:19 -0700
commitac9e76c8d63c9bb320aadc6357091238d240166a (patch)
tree1ba83962196de5feea27cfce5024c04474b37203 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent3c05313b048cd1f94642d939ee52b6d6ff24deac (diff)
Migrate DomainVerificationUtils to no log ChangeId
Uses the isChangeEnabledInternalNoLogging variant, which skips the caller permission check, which improves performance. Also removes the need to clear calling identity. This uses a mocked ApplicationInfo as it can be called during package update, which means the PM lock cannot be taken. This, and in all other cases, the method is being called as part of a service side check, post feature/permission app visibility enforcement, so it should be safe to skip permission checks. This isn't enforced, but since DomainVerificationUtils#isChangeEnabled is only visible inside the DVS package, it should be fine. Bug: 159952358 Test: atest com.android.server.pm.verify.domain Change-Id: I9c54e8653d843cfb67fb9d6e12349cf06de90fce
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions