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

Skip to content
Commit 7662ffbb authored by Neil Fuller's avatar Neil Fuller
Browse files

Clear NITZ state when entering airplane mode

Clear NITZ time / time zone detection state when entering airplane mode.

This is to avoid an issue when users do the following:
1) Get on a flight
2) Set device to airplane mode
3) Turn off auto time zone detection
4) Manually set the device time zone to the destination time zone
5) Turn off airplane mode
6) Turn on auto time zone detection

The device would switch to the time zone of the departure point because it
retained state from before the flight, which caused annoyance for users.

Bug: 133492648
Test: atest com.android.internal.telephony.NitzStateMachineImplTest
Change-Id: I1266a53bf14097c72b9f122725ebbd75c439b05a
parent c47b6490
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment