From c20b795cf05b48fe5e024c19dab9c7e4b18cd10f Mon Sep 17 00:00:00 2001 From: David Christie Date: Thu, 4 Sep 2014 11:29:01 -0700 Subject: Add @SystemApi annotations to methods used by GmsCore. -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69 --- wifi/java/android/net/wifi/WifiManager.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wifi/java/android/net') diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java index 3d976e7..40ab1c1 100644 --- a/wifi/java/android/net/wifi/WifiManager.java +++ b/wifi/java/android/net/wifi/WifiManager.java @@ -836,6 +836,7 @@ public class WifiManager { } /** @hide */ + @SystemApi public boolean startScan(WorkSource workSource) { try { mService.startScan(null, workSource); @@ -909,6 +910,7 @@ public class WifiManager { * @return false if not supported. * @hide */ + @SystemApi public boolean isBatchedScanSupported() { try { return mService.isBatchedScanSupported(); @@ -935,6 +937,7 @@ public class WifiManager { * {@link BATCHED_SCAN_RESULTS_AVAILABLE_ACTION} is received. * @hide */ + @SystemApi public List getBatchedScanResults() { try { return mService.getBatchedScanResults(mContext.getOpPackageName()); -- cgit v1.1