diff options
author | Ahmed ElArabawy <arabawy@google.com> | 2019-04-24 14:02:27 -0700 |
---|---|---|
committer | Ahmed ElArabawy <arabawy@google.com> | 2019-04-25 21:20:21 +0000 |
commit | c3ecaf2f7e60d3cd558915bf54a10f39151d2558 (patch) | |
tree | ad03ffefe5edae034297bd03b32936a35b4c72b7 /OWNERS | |
parent | a7a78153b4fa396c3e735444cdef3bba87aeb4f7 (diff) |
Move LOCK permission check to WifiServiceImpl
In current implementation the permission checks for WifiLock operations
is performed inside the WifiLockManager. However, as we are currently
running this part of the code from the Wifi handler thread, the check is not
effective and always succeeds.
In this commit, the permission checks are moved to the WifiServiceImpl
before switching to the wifi handler thread.
Bug: 130359136
Test: atest com.android.wifi.server
Test: atest android.permission.cts.NoWakeLockPermissionTest#testWifiLockAcquire
Change-Id: If307ebc693e9df67c2075159a3f394835d5b6cf4
Diffstat (limited to 'OWNERS')
0 files changed, 0 insertions, 0 deletions