Add config overlay config_autoTimeSourcesPriority to sync guest time
The automatic time sources priority by default is changed from
[telephony, network] to [network, telephony] due to framework change.
Since emulator supports snapshot feature which are not possible with
physical phone, the network time suggestion is not the best way to sync
guest time because the framework will often rely on the network time
suggestion saved before snapshot happens. Usually, the most recently
saved network time has the issue where the new time and clock time
are too close and therefore the framework chooses to not update system
clock at all. Thus, even if NITZ message is sent after snapshot load,
gusst time is not synced.
To wit, use the previous automatic time sources priority by explicitly
setting it in config.xml.
Bug: 202406988
Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Iee53cb2fc5990c0dbc4418b896afc897127b9f2e
Merged-In: Iee53cb2fc5990c0dbc4418b896afc897127b9f2e
1 file changed