From 958154b5e2744cc370eaa18c870d04987e153630 Mon Sep 17 00:00:00 2001 From: Vinay Kalia Date: Tue, 5 Sep 2017 13:51:58 -0700 Subject: Update ScanSettings documentation for scan modes SCAN_MODE_LOW_POWER is enforced for applications running in background. Test: BLE scanning applications. BUG: 38198694 BUG: 62491228 Change-Id: Ib2b6c297298e05f1b088411e94cfe4789dde0821 --- core/java/android/bluetooth/le/ScanSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/bluetooth/le/ScanSettings.java b/core/java/android/bluetooth/le/ScanSettings.java index 35ed424aa2db..8fdcba85d33a 100644 --- a/core/java/android/bluetooth/le/ScanSettings.java +++ b/core/java/android/bluetooth/le/ScanSettings.java @@ -35,7 +35,7 @@ public final class ScanSettings implements Parcelable { /** * Perform Bluetooth LE scan in low power mode. This is the default scan mode as it consumes the - * least power. + * least power. This mode is enforced if the scanning application is not in foreground. */ public static final int SCAN_MODE_LOW_POWER = 0; -- cgit v1.2.3-59-g8ed1b