commit | 0bfda18ed956da7603fb902e8d08823a1b3027aa | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Wed Jan 23 10:22:25 2019 -0800 |
committer | Roshan Pius <rpius@google.com> | Wed Jan 23 18:25:54 2019 +0000 |
tree | 10b49f20425331ca53caa357a1b0d0c290013384 | |
parent | 4f1755515b9069abc228a7ae2fc13684579173e0 [diff] |
WifiPermissionsUtil: Clear calling identity before isLocationModeEnabled For incoming binder calls, ensure we clear the calling identity before invoking isLocationModeEnabled because it requires system permissions to check the current user (which the app probably does not have). Bug: 123254742 Test: CTS tests for LOHS. Change-Id: Ia73e6c5c2eb75616f0cee4e51d9697144d21a799