summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael W <baddaemon87@gmail.com>2020-06-21 17:22:39 +0200
committerDanny Baumann <dannybaumann@web.de>2020-06-23 12:04:39 +0200
commit027d8103d43b4fde345267541103cff2266a2471 (patch)
tree5aba8097a1cb9389436c43b13967fbb125f551de
parent24656a53072e0a723ac27ef5f89ef3b9885deaad (diff)
downloadframeworks_base-027d8103d43b4fde345267541103cff2266a2471.tar.gz
frameworks_base-027d8103d43b4fde345267541103cff2266a2471.tar.bz2
frameworks_base-027d8103d43b4fde345267541103cff2266a2471.zip
SystemUI: Fix issue with Bluetooth tile
* Currently: Pair a device * Open BT tile details ("details"), device is shown * Disable bt via the switchbar, close the details via the "done" button * Reopen the details -> the list is empty, neither "empty" text nor actual devices are shown After this patch: Reopening the details turns on bt which in turn makes devices visible again Change-Id: I1a0a5ebdcaca50bc821b0180f2109d00091eaa1c
-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 9282a2e3b31..dcffc3c81c9 100644
--- a/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
+++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/BluetoothTile.java
@@ -252,6 +252,7 @@ public class BluetoothTile extends QSTileImpl<BooleanState> {
refreshState();
if (isShowingDetail()) {
mDetailAdapter.updateItems();
+ mDetailAdapter.setItemsVisible(true);
fireToggleStateChanged(mDetailAdapter.getToggleState());
}
}