diff options
| author | 2024-10-11 10:45:04 +0000 | |
|---|---|---|
| committer | 2024-10-31 05:22:53 +0000 | |
| commit | 96b623828e48ce818844784266b91951ca9e3196 (patch) | |
| tree | 2f5dd364242df5372b80fefae57744c6f7e0d7fc /api/api_test.go | |
| parent | ced834308c40fa2e9a642d3fc2c94fceecc0bae0 (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions