commit | 38c37b5c1b8d2049025ccb511949c660925d492e | [log] [tgz] |
---|---|---|
author | Qingxi Li <qingxi@google.com> | Thu Jan 23 13:46:21 2020 -0800 |
committer | Qingxi Li <qingxi@google.com> | Mon Jan 27 10:16:51 2020 -0800 |
tree | 515c593665bc9f8885f592eb70efb3aece673595 | |
parent | 68e23e17ed987392c31543324620f76f62e14cb1 [diff] |
Update location permission check for ConnectivityUtil This CL does following updates for the ConnectivityUtil class: 1. Remove the current profile check from location permission check since it's not related to location permission check. 2. Makes all the checking functions to static to avoid memory allocation 3. Rename the class from util to checker. Bug: 148180968 Bug: 148232681 Bug: 148233000 Test: atest FrameworksNetTest Change-Id: Ibf8879fe7dbcecdf766b959cb052d4d825b9b24c