Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 528e947e authored by Jack Yu's avatar Jack Yu
Browse files

Added sync update database support

Added a config allowing updating subscription
database synchronously or asynchronously.

Test: atest FrameworksTelephonyTests
Bug: 239607619
Merged-In: I639a73a2213eb4a3030ce1398c441a552ab654cf
Change-Id: I639a73a2213eb4a3030ce1398c441a552ab654cf
parent c44c3153
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -117,4 +117,9 @@
    <!-- Whether using the new SubscriptionManagerService or the old SubscriptionController -->
    <bool name="config_using_subscription_manager_service">false</bool>
    <java-symbol type="bool" name="config_using_subscription_manager_service" />

    <!-- Whether asynchronously update the subscription database or not. Async mode increases
         the performance, but sync mode reduces the chance of database/cache out-of-sync. -->
    <bool name="config_subscription_database_async_update">true</bool>
    <java-symbol type="bool" name="config_subscription_database_async_update" />
</resources>