Refresh "Device details" after resuming

"HD Audio: LDAC" is still on when relaunch "Device details" from recent
apps after turning it off

Call refresh() after resuming.

Bug: 242351058
Test: 1.Long click "Bluetooth" form QS.
  2.Pair and connect with IOT supporting LDAC.
  3.Click the settings icon to the right of the connected device.
  4.Turn on "HD audio: LDAC".
  5.Click home key, make it in recent apps.
  6.Settings-> Connected devices -> Media devices -> settings icon.
  7.Turn off "HD audio: LDAC".
  8.Try to relaunch the first "Device details" screen (step 5) from recent apps.

Change-Id: I4a0c475211669f61e718f47a713a982ac58e914a
This commit is contained in:
pingzhi wang
2022-08-11 16:34:59 +08:00
committed by Håkan Kvist
parent 24f45fbd63
commit 11081cae50

View File

@@ -456,6 +456,7 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll
item.registerCallback(this);
}
mProfileManager.addServiceListener(this);
refresh();
}
@Override