Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(750)

Unified Diff: device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java

Issue 2032273002: If location services are turned off, have the BT chooser prompt the user to turn them on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Sync Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
diff --git a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
index 155897c18fd0ca600f4eb221b1bba9829f9fb35e..057049de9d891cdaaf9ea99c4f5049873670d9fa 100644
--- a/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
+++ b/device/bluetooth/android/java/src/org/chromium/device/bluetooth/Wrappers.java
@@ -166,6 +166,10 @@ class Wrappers {
return LocationUtils.getInstance().hasAndroidLocationPermission(mContext);
}
+ public boolean isSystemLocationSettingEnabled() {
+ return LocationUtils.getInstance().isSystemLocationSettingEnabled(mContext);
+ }
+
public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) {
return mContext.registerReceiver(receiver, filter);
}

Powered by Google App Engine
This is Rietveld 408576698