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
This commit is contained in:
Jack Yu
2022-12-03 18:42:24 -08:00
parent c44c315365
commit 528e947ed2

View File

@@ -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>