From 5a982939d22b7fd3cb2a6ba107119b18f4904ca6 Mon Sep 17 00:00:00 2001 From: Mitchell Wills Date: Wed, 10 Feb 2016 13:35:04 -0800 Subject: [PATCH] Remove REPORT_EVENT_CONTEXT_HUB gscan option Since all scan results will now be reported to the context hub this flag is no longer needed. Change-Id: I21c157a31fe26169606f6f53e8e0ce44d57c5ca5 --- api/system-current.txt | 1 - wifi/java/android/net/wifi/WifiScanner.java | 4 ---- 2 files changed, 5 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index ca92c45ebd9ed..9e9fa13ad6257 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -21215,7 +21215,6 @@ package android.net.wifi { field public static final int REASON_UNSPECIFIED = -1; // 0xffffffff field public static final deprecated int REPORT_EVENT_AFTER_BUFFER_FULL = 0; // 0x0 field public static final int REPORT_EVENT_AFTER_EACH_SCAN = 1; // 0x1 - field public static final int REPORT_EVENT_CONTEXT_HUB = 8; // 0x8 field public static final int REPORT_EVENT_FULL_SCAN_RESULT = 2; // 0x2 field public static final int REPORT_EVENT_NO_BATCH = 4; // 0x4 field public static final int WIFI_BAND_24_GHZ = 1; // 0x1 diff --git a/wifi/java/android/net/wifi/WifiScanner.java b/wifi/java/android/net/wifi/WifiScanner.java index 44be671a4309d..2373754d41a07 100644 --- a/wifi/java/android/net/wifi/WifiScanner.java +++ b/wifi/java/android/net/wifi/WifiScanner.java @@ -155,10 +155,6 @@ public class WifiScanner { * Do not place scans in the chip's scan history buffer */ public static final int REPORT_EVENT_NO_BATCH = (1 << 2); - /** - * report full scan results and completion event to the context hub - */ - public static final int REPORT_EVENT_CONTEXT_HUB = (1 << 3); /** * scan configuration parameters to be sent to {@link #startBackgroundScan}