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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user