summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorRandall Rushing <randall.rushing@gmail.com>2016-04-13 23:12:23 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-17 14:40:10 -0700
commit6ce16de71d5915fe3401701801e59795ce3707d0 (patch)
tree6d426432ff64588f85c4119a21172139c91da4a0 /packages
parentf59a969ae6385cd376c07f2bfadd9373c7a4e7fc (diff)
downloadframeworks_base-6ce16de71d5915fe3401701801e59795ce3707d0.zip
frameworks_base-6ce16de71d5915fe3401701801e59795ce3707d0.tar.gz
frameworks_base-6ce16de71d5915fe3401701801e59795ce3707d0.tar.bz2
QSTiles: set disconnect callback in bluetooth details list adapter
Adapter callback to disconnect device was not being set after scrollable tiles bringup. This resulted in a broken disconnect button in the details item list. Change-Id: Ibbc96d9d379b95b04b4376f4767fd877226c0c95
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
index a798e4e..cdedc26 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
@@ -225,6 +225,7 @@ public class BluetoothTile extends QSTile<QSTile.BooleanState> {
listView.setOnItemClickListener(this);
listView.setAdapter(mAdapter =
new QSDetailItemsList.QSDetailListAdapter(context, mBluetoothItems));
+ mAdapter.setCallback(this);
mItemsList.setEmptyState(R.drawable.ic_qs_bluetooth_detail_empty,
R.string.quick_settings_bluetooth_detail_empty_text);