summaryrefslogtreecommitdiff
path: root/libs/hwui/AutoBackendTextureRelease.cpp
diff options
context:
space:
mode:
author Ashish Kumar <akgaurav@google.com> 2023-06-06 09:02:19 +0000
committer Ashish Kumar <akgaurav@google.com> 2023-06-07 11:00:10 +0000
commit0567baa76883b45b8a3376f4d906bf0f3a64f960 (patch)
treed11dfd99637364827ae9314fb64a4c1a07c2c9be /libs/hwui/AutoBackendTextureRelease.cpp
parent0b144bc3e4e2f8dc32b28752acf0343489670bd7 (diff)
Fixes type resolving in ActivityManagerShellCommand
- There are 2 reasons for this change 1. make it non-async, because the type may still be null while it's being used in the below codes 2. Ams.mimeTypeFilterAsync is now used only when the caller does not hold the permission. So replacing it with ContentResolver.getType - Also granting shell special permission to access all provider mime types. Bug: b/284407686 Test: The intended behavior was reproduced on local testing. Change-Id: I9add06ffe8c0e7c185f0947f0695be259513bd13
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions