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

Issue 2704263004: bluetooth: Add connected icon to Bluetooth Chooser on Android (Closed)

Created:
3 years, 10 months ago by ortuno
Modified:
3 years, 8 months ago
Reviewers:
Ted C, jbudorick, juncai
CC:
agrieve+watch_chromium.org, chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org, srahim+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bluetooth: Add connected icon to Bluetooth Chooser on Android Adds the ability to show rows with icons to ItemChooserDialog. Changes BluetoothChooserDialog to pass in an icon for connected devices. BUG=543466 Review-Url: https://codereview.chromium.org/2704263004 Cr-Commit-Position: refs/heads/master@{#463554} Committed: https://chromium.googlesource.com/chromium/src/+/a9620b50d02828a39914e3764dea3ef4cf2bdc3b

Patch Set 1 #

Patch Set 2 : Remove constant state test #

Patch Set 3 : Change name #

Total comments: 16

Patch Set 4 : Address juncai's comments #

Total comments: 2

Patch Set 5 : Address juncai's comments #

Total comments: 29

Patch Set 6 : Address tedchoc's comments #

Patch Set 7 : Addess moar comments #

Patch Set 8 : clean up #

Patch Set 9 : Clean up #

Total comments: 12

Patch Set 10 : Address tedchoc's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+542 lines, -34 lines) Patch
M build/android/lint/suppressions.xml View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A chrome/android/java/res/color/item_chooser_row_icon_color.xml View 1 2 3 4 5 6 7 8 9 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/android/java/res/drawable/ic_bluetooth_connected.xml View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/item_chooser_dialog_row.xml View 1 2 3 4 5 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/BluetoothChooserDialog.java View 1 2 3 4 5 6 7 8 4 chunks +35 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ItemChooserDialog.java View 1 2 3 4 5 6 7 8 9 10 chunks +82 lines, -6 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/BluetoothChooserDialogTest.java View 1 2 3 4 5 6 7 4 chunks +15 lines, -2 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/ItemChooserDialogTest.java View 1 2 3 4 5 6 7 8 9 11 chunks +369 lines, -21 lines 0 comments Download
M chrome/browser/ui/android/bluetooth_chooser_android.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 51 (32 generated)
ortuno
juncai: PTAL
3 years, 10 months ago (2017-02-22 03:18:34 UTC) #8
juncai
https://codereview.chromium.org/2704263004/diff/40001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/40001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode11 chrome/android/java/res/layout/item_chooser_dialog_row.xml:11: <!-- contentDescription is added at runtime. --> Add some ...
3 years, 10 months ago (2017-02-22 22:22:57 UTC) #11
ortuno
Thanks! https://codereview.chromium.org/2704263004/diff/40001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/40001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode11 chrome/android/java/res/layout/item_chooser_dialog_row.xml:11: <!-- contentDescription is added at runtime. --> On ...
3 years, 9 months ago (2017-02-28 01:42:48 UTC) #12
juncai
LGTM with a nit. https://codereview.chromium.org/2704263004/diff/60001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/2704263004/diff/60001/chrome/android/java/strings/android_chrome_strings.grd#newcode1267 chrome/android/java/strings/android_chrome_strings.grd:1267: <message name="IDS_BLUETOOTH_DEVICE_CONNECTED" desc="Content Description for ...
3 years, 9 months ago (2017-03-01 00:29:57 UTC) #13
ortuno
Thanks! https://codereview.chromium.org/2704263004/diff/60001/chrome/android/java/strings/android_chrome_strings.grd File chrome/android/java/strings/android_chrome_strings.grd (right): https://codereview.chromium.org/2704263004/diff/60001/chrome/android/java/strings/android_chrome_strings.grd#newcode1267 chrome/android/java/strings/android_chrome_strings.grd:1267: <message name="IDS_BLUETOOTH_DEVICE_CONNECTED" desc="Content Description for the Connected Icon ...
3 years, 9 months ago (2017-03-01 02:42:32 UTC) #14
ortuno
tedchoc: PTAL
3 years, 9 months ago (2017-03-01 02:45:23 UTC) #16
Ted C
https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode5 chrome/android/java/res/layout/item_chooser_dialog_row.xml:5: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" Any idea why this is a RelativeLayout? ...
3 years, 9 months ago (2017-03-03 00:56:19 UTC) #17
ortuno
https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode5 chrome/android/java/res/layout/item_chooser_dialog_row.xml:5: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" On 2017/03/03 at 00:56:19, Ted C wrote: ...
3 years, 9 months ago (2017-03-03 22:08:23 UTC) #22
Ted C
https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode5 chrome/android/java/res/layout/item_chooser_dialog_row.xml:5: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" On 2017/03/03 22:08:22, ortuno wrote: > On ...
3 years, 9 months ago (2017-03-04 00:08:46 UTC) #23
ortuno
https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml File chrome/android/java/res/layout/item_chooser_dialog_row.xml (right): https://codereview.chromium.org/2704263004/diff/80001/chrome/android/java/res/layout/item_chooser_dialog_row.xml#newcode5 chrome/android/java/res/layout/item_chooser_dialog_row.xml:5: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" On 2017/03/04 at 00:08:46, Ted C wrote: ...
3 years, 9 months ago (2017-03-08 06:57:39 UTC) #25
ortuno
tedchoc: PTAL this uses the ColorStateList pattern we discussed.
3 years, 8 months ago (2017-04-10 23:41:25 UTC) #28
Ted C
lgtm w/ nits https://codereview.chromium.org/2704263004/diff/160001/chrome/android/java/res/color/item_chooser_row_icon_color.xml File chrome/android/java/res/color/item_chooser_row_icon_color.xml (right): https://codereview.chromium.org/2704263004/diff/160001/chrome/android/java/res/color/item_chooser_row_icon_color.xml#newcode7 chrome/android/java/res/color/item_chooser_row_icon_color.xml:7: <item android:color="@android:color/white" android:state_selected="true"/> I realized that ...
3 years, 8 months ago (2017-04-11 00:09:33 UTC) #31
ortuno
Thanks! https://codereview.chromium.org/2704263004/diff/160001/chrome/android/java/res/color/item_chooser_row_icon_color.xml File chrome/android/java/res/color/item_chooser_row_icon_color.xml (right): https://codereview.chromium.org/2704263004/diff/160001/chrome/android/java/res/color/item_chooser_row_icon_color.xml#newcode7 chrome/android/java/res/color/item_chooser_row_icon_color.xml:7: <item android:color="@android:color/white" android:state_selected="true"/> On 2017/04/11 at 00:09:33, Ted ...
3 years, 8 months ago (2017-04-11 02:43:29 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2704263004/180001
3 years, 8 months ago (2017-04-11 04:42:35 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/407610)
3 years, 8 months ago (2017-04-11 04:50:44 UTC) #43
ortuno
jbudorick: PTAL at build/android/lint
3 years, 8 months ago (2017-04-11 04:56:42 UTC) #45
jbudorick
On 2017/04/11 04:56:42, ortuno wrote: > jbudorick: PTAL at build/android/lint lgtm
3 years, 8 months ago (2017-04-11 05:43:04 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2704263004/180001
3 years, 8 months ago (2017-04-11 06:33:24 UTC) #48
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 06:39:25 UTC) #51
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/a9620b50d02828a39914e3764dea...

Powered by Google App Engine
This is Rietveld 408576698