Before this CL, bluetooth settings update the battery level of earbuds when receiving first pair status callback. But sometimes the callback will not send immediately cause the battery level is inconsistent. This CL will update the earbuds battery level when onResum() to refresh battery level immediately. Bug: 174929347 Bug: 159544311 Test: make -j42 RunSettingsRoboTests Change-Id: I8505f8fed4ec821b9fa2d88bc437bddd7a30f0e2
4.6 KiB
4.6 KiB