summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author lpeter <lpeter@google.com> 2022-09-12 16:20:49 +0800
committer lpeter <lpeter@google.com> 2022-09-12 16:20:49 +0800
commit3cc7d7d5a5640fc61b518e974105558e93f78251 (patch)
tree02140c0b77b5e2e96781dfd1ef292f1e9e061643 /libs/androidfw/StringPool.cpp
parent4ef90db500d1e9496cf8ab91714420c0f4392597 (diff)
Call enforceCallingPermission instead of annotation EnforcePermission
These test cases failed after this change (ag/19194476). It uses @android.annotation.EnforcePermission instead of calling enforceCallingPermission. When using @android.annotation.EnforcePermission, it will trigger noteOP, so we can’t use the noteOp mechanism to fix this bug. After reverting back to use enforceCallingPermission, the test cases will pass. Bug: 242103120 Test: atest HotwordDetectionServiceBasicTest Change-Id: I5cb6a2a33a3fadd2bcbfc6edece80da743684398
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions