Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ce16de7 authored by Randall Rushing's avatar Randall Rushing Committed by Gerrit Code Review
Browse files

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
parent f59a969a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);