release-request-6c9f747d-7df5-465f-8bde-1149394b99b4-for-git_oc-mr1-release-4296189 snap-temp-L54400000096309002

Change-Id: I9aea18e871d143b0a0ce57688a8ee2282ab1a500
diff --git a/PMC/src/com/android/pmc/BleScanReceiver.java b/PMC/src/com/android/pmc/BleScanReceiver.java
index 56532dd..cb33a68 100644
--- a/PMC/src/com/android/pmc/BleScanReceiver.java
+++ b/PMC/src/com/android/pmc/BleScanReceiver.java
@@ -106,6 +106,14 @@
 
             mBleScanner = bleAdaptor.getBluetoothLeScanner();
             mScanFilterList = new ArrayList<ScanFilter>();
+
+            // Create ScanFilter object, to force scan even with screen OFF
+            // using deviceName string of "dummy" for example
+            ScanFilter scanFilterDeviceName = new ScanFilter.Builder().setDeviceName(
+                       "dummy").build();
+            // Add the object to FilterList
+            mScanFilterList.add(scanFilterDeviceName);
+
             Log.d(TAG, "End BleScanListener()");
         }