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

Skip to content
Commit 96b62382 authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Validate TimeZone in TextClock.setTimeZone

TimeZone.getTimeZone appears to perform less stringent checks
than tz.ToZoneId, which leads to a crash in the widget when we do eventually call toZoneId upon a time tick.

An example of such an invalid timezone is "GMT+20:00".

TextClock is a remotable view, so this leads to crashes in the Launcher process when it's part of a widget.

Bug: 372811751
Change-Id: I3f0bf19830639387926f8ab2e685a7dd0d991958
Test: atest TextClockTest
Flag: EXEMPT Localized bug fix with limited impact
parent ced83430
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