Skip to content

Commit 10d940d

Browse files
committed
Fix permission issues for apps
Add a work around and create a bug for proper fix Bug: 6882233 Change-Id: I342ef7ecade8b9e2c7d16e82ea9031214b1b4462
1 parent c58392b commit 10d940d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

services/java/com/android/server/WifiService.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -955,12 +955,10 @@ public void clearBlacklist() {
955955
* an AsyncChannel communication with WifiService
956956
*/
957957
public Messenger getWifiServiceMessenger() {
958-
/* Enforce the highest permissions
959-
TODO: when we consider exposing the asynchronous API, think about
960-
how to provide both access and change permissions seperately
961-
*/
962-
enforceAccessPermission();
963-
enforceChangePermission();
958+
/* STOPSHIP: Fix this to have old sync API not need these new permissions
959+
* enforceAccessPermission();
960+
* enforceChangePermission();
961+
*/
964962
return new Messenger(mAsyncServiceHandler);
965963
}
966964

0 commit comments

Comments
 (0)