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

Unified Diff: chrome/browser/ui/android/bluetooth_chooser_android.cc

Issue 2271413002: bluetooth: Implement RSSI indicator on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-impl-rssi-tx-power
Patch Set: Draft of LevelListDrawable and StateListDrawable Created 4 years, 2 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: chrome/browser/ui/android/bluetooth_chooser_android.cc
diff --git a/chrome/browser/ui/android/bluetooth_chooser_android.cc b/chrome/browser/ui/android/bluetooth_chooser_android.cc
index 8003eadbb5f7033f2d03d94b98761991961faa69..9b04a8d472e312c53c48d4e02ab622ab9a21ddb2 100644
--- a/chrome/browser/ui/android/bluetooth_chooser_android.cc
+++ b/chrome/browser/ui/android/bluetooth_chooser_android.cc
@@ -106,7 +106,8 @@ void BluetoothChooserAndroid::AddOrUpdateDevice(
ScopedJavaLocalRef<jstring> java_device_name =
ConvertUTF16ToJavaString(env, device_name);
Java_BluetoothChooserDialog_addOrUpdateDevice(
- env, java_dialog_, java_device_id, java_device_name);
+ env, java_dialog_, java_device_id, java_device_name,
+ signal_strength_level);
}
void BluetoothChooserAndroid::RemoveDevice(const std::string& device_id) {

Powered by Google App Engine
This is Rietveld 408576698