commit | 0bdec91ca110a07e6f43060c6964c5ac26a07534 | [log] [tgz] |
---|---|---|
author | Sohani Rao <sohanirao@google.com> | Tue Nov 28 13:02:41 2017 -0800 |
committer | Sohani Rao <sohanirao@google.com> | Fri Dec 01 16:33:16 2017 -0800 |
tree | 56c3b6a273004f8bd05a1321224e3be4323117ed | |
parent | 555837e6c385b7b3350230b2a5b9b6113086aba7 [diff] |
[Wifi] Clear calling identity before permissions check WifiManager API getConnectionInfo() must clear calling identity before calling internal APIs that check permissions. This CL saves the calling identity before clearing it and passed it on to the permission checks method and restores it after. Bug: 69725889 Test: On device tests, to repro the issue, Unit tests, QR Provisioning tests Change-Id: I7c182e934bf1e8a6ca41fd11dd67add36aef7992