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:
@@ -117,4 +117,9 @@
|
|||||||
<!-- Whether using the new SubscriptionManagerService or the old SubscriptionController -->
|
<!-- Whether using the new SubscriptionManagerService or the old SubscriptionController -->
|
||||||
<bool name="config_using_subscription_manager_service">false</bool>
|
<bool name="config_using_subscription_manager_service">false</bool>
|
||||||
<java-symbol type="bool" name="config_using_subscription_manager_service" />
|
<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>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user