summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Tim Yu <yunicorn@google.com> 2023-06-07 02:22:36 +0000
committer Tim Yu <yunicorn@google.com> 2023-06-09 17:33:43 +0000
commitb9e2e28c44dfa906d0766522526a595471fb9355 (patch)
tree500b9b21f38b3d02af8f23e1387a33aa3e1f7216 /libs/androidfw/ZipFileRO.cpp
parent51600446da66bf99951a1668111848fcf8f616df (diff)
Fix SecurityException in Autofill
Clear binder identity in AutofillManagerService calls. Autofill server assume the identity of the provider when making calls to DeviceState. Since some providers could be instantiated before Autofill Manager finishes addClient(), this could trigger a SecurityException. Fixing by clearing the binder identity before calls to DeviceState - this will make it so all calls to DeviceState has system server identity. Fixes: 285042748 Bug: 278209634 Test: CtsAutoFillServiceTestCases Change-Id: I7cc11e0880a35266c8b1d8da36ad1e89a2afd50d
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions