commit | acdacf12399c4cb7abc57d7cbc214d90ada329ba | [log] [tgz] |
---|---|---|
author | Quang Anh Luong <qal@google.com> | Thu Jul 13 17:02:16 2023 +0900 |
committer | Quang Anh Luong <qal@google.com> | Thu Jul 13 17:02:16 2023 +0900 |
tree | 49fe0388f949bd3b18a0d193b3b4b3fc580bcb1c | |
parent | 34c6be8515d20d963df658989d51670f0f0bd97b [diff] |
Clear binder id before checking if LOHS can be created Checking if LOHS can be created calls into HDM priority logic, which requires permissions to check each requestor worksource's priority. Make sure to clear the binder calling id so we check the binder thread's permissions instead of the calling app's. Bug: 287889550 Test: atest WifiServiceImplTest Change-Id: Ifdc4b4b37b7d8def0a0f8f0433c695b6df7911c0