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

Commit 4b997567 authored by Vinit Deshpande's avatar Vinit Deshpande
Browse files

Secure access to WifiScanner

This change implements access control for WifiScanner. It is now
available to only those apps that have CONNECTIVITY_INTERNAL permissions.

Bug: 15088601
Change-Id: I6acc13079b6dac6f190644b6d1a270c271cc679f
parent 95e71085
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ public class WifiScanner {
    public static final int REASON_INVALID_LISTENER = -2;
    /** Invalid request */
    public static final int REASON_INVALID_REQUEST = -3;
    /** Invalid request */
    public static final int REASON_NOT_AUTHORIZED = -4;

    /**
     * Generic action callback invocation interface