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

Commit df8fdacf 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
Change-Id: I639a73a2213eb4a3030ce1398c441a552ab654cf
parent 85f02b26
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -118,6 +118,11 @@
    <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" />

    <!-- Boolean indicating whether the emergency numbers for a country, sourced from modem/config,
    <!-- 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
         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
         Android Emergency DB. If this value is true, emergency numbers for a country, sourced from