commit | 187f81d630dfa77a56e4651b225bf26c826bd49f | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Mon Jan 07 16:10:48 2019 -0800 |
committer | Roshan Pius <rpius@google.com> | Tue Jan 08 07:38:07 2019 -0800 |
tree | 7b20801e65375001e1d958e683945b84fc927d45 | |
parent | e52bfec84a81968b6005b66b9d96f6a737c4bbd0 [diff] |
WifiPermissionsUtil: Check location mode for current fg user a) Use the WifiPermissionsUtil.isLocationModeEnabled() for all location mode checks in the wifi stack. b) Check the current fg user's location mode instead of the system user (0). Bug: 121336053 Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I9c20b5f5f0c11abbf6e6bba2bbfd5ff4dd6df22c