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:
Vinit Deshpande
2014-09-08 18:03:12 -07:00
parent 95e71085e2
commit 4b9975671f

View File

@@ -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