Added sync update database support

Added a config allowing updating subscription
database synchronously or asynchronously.

Test: atest FrameworksTelephonyTests
Bug: 239607619
Change-Id: I639a73a2213eb4a3030ce1398c441a552ab654cf
This commit is contained in:
Jack Yu
2022-12-03 18:42:24 -08:00
parent 85f02b264e
commit df8fdacfea

View File

@@ -118,6 +118,11 @@
<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" />
<!-- Boolean indicating whether the emergency numbers for a country, sourced from modem/config,
should be ignored if that country is 'locked' (i.e. ignore_modem_config set to true) in
Android Emergency DB. If this value is true, emergency numbers for a country, sourced from