commit | 4532d3612b19c3c16fda2f09a4da74b92441711d | [log] [tgz] |
---|---|---|
author | hupeng3 <hp121520@gmail.com> | Thu Jul 18 19:31:29 2024 +0800 |
committer | Hu Peng <hp121520@gmail.com> | Wed Jul 24 08:21:08 2024 +0000 |
tree | 318495773a52c401d210286897a0d8cd2eaad3e2 | |
parent | fc72787d0235fdb0669a1b2ccac31b47e64a25ae [diff] |
Add TimeZoneProviderStatus' nullness check. The mTimeZoneProviderStatus of TimeZoneProviderEvent will be null if it came from [1], and it will cause 'system_server' NPE in the method of 'preProcess'. [1] https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/java/android/service/timezone/TimeZoneProviderService.java;l=205;drc=e13dc3f47bb058cda591ff7c4db38100f3a8276f Bug:353886493 Test: atest core/tests/timetests/src/android/service/timezone/ Test: atest services/tests/timetests/src/com/android/server/timezonedetector/location/ Change-Id: Id3d467f72da0ad17388d7f6f3af649fce45e9af6 Signed-off-by: hupeng3 <hp121520@gmail.com>