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

Commit ff161ed8 authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

Defer time zone acceptance heuristic until device unlock.

The heuristic for automatically accepting a time zone change is delayed until the device is unlocked if it was locked at the time of the change. This is done by registering a `BroadcastReceiver` for `ACTION_USER_PRESENT`.

Bug: 417458133
Flag: android.timezone.flags.enable_automatic_time_zone_rejection_logging
Test: atest NotifyingTimeZoneChangeListenerTest

Change-Id: I7cd598f25d9b5a38f9f93c5419a1e5f7ae568888
parent 223cc3e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment