diff options
author | 2024-07-18 19:31:29 +0800 | |
---|---|---|
committer | 2024-07-24 08:21:08 +0000 | |
commit | 4532d3612b19c3c16fda2f09a4da74b92441711d (patch) | |
tree | 318495773a52c401d210286897a0d8cd2eaad3e2 /tools/aapt/Command.cpp | |
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>
Diffstat (limited to 'tools/aapt/Command.cpp')
0 files changed, 0 insertions, 0 deletions