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

Commit 8044d68f authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android Git Automerger
Browse files

am 10d940d9: Fix permission issues for apps

* commit '10d940d9':
  Fix permission issues for apps
parents c2483b99 10d940d9
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);
    }