Index: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java |
index 4ad71134d27edbe753a11e4e73eafa1ebc7b40e4..244146225cbffd1993b4054b336b5c6827e28477 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebDiagnosticsPage.java |
@@ -135,8 +135,10 @@ public class PhysicalWebDiagnosticsPage extends BasicNativePage { |
|| !isLocationPermissionGranted |
|| !isPreferenceEnabled) { |
prerequisitesResult = Utils.RESULT_FAILURE; |
+ mLaunchButton.setEnabled(false); |
} else if (bluetoothStatus == Utils.RESULT_INDETERMINATE) { |
prerequisitesResult = Utils.RESULT_INDETERMINATE; |
+ mLaunchButton.setEnabled(false); |
} |
sb.append("<h2>Status</h2>"); |