summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2023-06-21 15:37:11 -0400
committer Liran Binyamin <liranb@google.com> 2023-06-21 15:50:46 -0400
commitb65da76a9c6380b12dadd012496041d1b7bb08ac (patch)
treeee5f959f0d078fa383a19bedbb49ac7ef9912031 /libs/androidfw/ObbFile.cpp
parent4b3863dfe74af6ec32515706fea7f2d4a7a27ddd (diff)
Use a SupervisorJob in BubbleDataRepository
Using a SupervisorJob ensures that if child coroutines fail, the scope remains active and we can launch further coroutines in it. Also renamed the scope field to exclude io from it. Scopes should be tied to lifetime of objects, not to dispatchers Bug: 281083629 Test: Verified that bubbles are still persisted after adding new bubbles and reordering them. Change-Id: I38cc755d5496bfd636d8a4e26f93a26843b0508a
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions