| Index: chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java b/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java
|
| index 825560da2bdd36f43574e2e9c0a454173fb84ab2..0d551b645d004a505e1db173cb8436fdadaa5054 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java
|
| @@ -318,6 +318,16 @@ public class BluetoothChooserDialog
|
| checkLocationPermission();
|
| break;
|
| }
|
| + case DISCOVERY_IDLE: {
|
| + // If devices have been discovered already, sending an update to the
|
| + // chooser does nothing. Otherwise, if no devices have been discovered,
|
| + // sending and update to the chooser results in the "noneFound" label
|
| + // being shown.
|
| + List<ItemChooserDialog.ItemChooserRow> devices =
|
| + new ArrayList<ItemChooserDialog.ItemChooserRow>();
|
| + mItemChooserDialog.showList(devices);
|
| + break;
|
| + }
|
| default: {
|
| // TODO(jyasskin): Report the new state to the user.
|
| break;
|
|
|