summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Evan Chen <evanxinchen@google.com> 2022-05-09 17:21:38 -0700
committer Evan Chen <evanxinchen@google.com> 2022-05-11 23:32:36 +0000
commit1b6759795650def029481f43baca6d0945f826b1 (patch)
treed1d2c79567ff22a4dda7568ca43a5fdce26231d1 /libs/androidfw/StringPool.cpp
parentf50f5235b0416acd32f0e4b679a1aba2f89f2d79 (diff)
Clear liveData when startForRequest
We should not clear the liveData in onDestory. Because the device list will be empty when finish the discovery and the UI will show empty device list. Instead, we need to clear/reset the livedata when startForRequest, so we update the devicelist before the UI pop up. Bug: 211836059 Test: atest CtsCompanionDeviceManagerCoreTestCases atest CtsCompanionDeviceManagerUiAutomationTestCases atest CtsOsTestCases:CompanionDeviceManagerTest Change-Id: I78f3137f5fa1329b52138d221ba7abc38c9f563e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions