Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10d940d9 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Fix permission issues for apps

Add a work around and create a bug for proper fix

Bug: 6882233
Change-Id: I342ef7ecade8b9e2c7d16e82ea9031214b1b4462
parent c58392bc
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -955,12 +955,10 @@ public class WifiService extends IWifiManager.Stub {
     * an AsyncChannel communication with WifiService
     */
    public Messenger getWifiServiceMessenger() {
        /* Enforce the highest permissions
           TODO: when we consider exposing the asynchronous API, think about
                 how to provide both access and change permissions seperately
         /* STOPSHIP: Fix this to have old sync API not need these new permissions
          * enforceAccessPermission();
          * enforceChangePermission();
          */
        enforceAccessPermission();
        enforceChangePermission();
        return new Messenger(mAsyncServiceHandler);
    }