diff options
| author | 2024-11-01 16:39:41 -0600 | |
|---|---|---|
| committer | 2024-11-01 16:39:41 -0600 | |
| commit | 656cd8d6b1ab8e1eb497e4b75d324c1d5fb147ab (patch) | |
| tree | 0d1174b0e3e3cd7bc7d615cf6b93dd8cde520b13 /libs/androidfw/ResourceTimer.cpp | |
| parent | 22bc51363004200b17f8a3a086668df91da94555 (diff) | |
Handle missing ActivityTaskManager service
ActivityTaskManager.getService can return null if
SystemManager.getService(Context.ACTIVITY_TASK_SERVICE) returns null.
StrictMode.registerBackgroundActivityStartCallback needs to check for
this so it doesn't try to register a callback on a non-object.
Bug: 376302055
Bug: 324089586
Test: atest CtsPrintTestCases
Change-Id: If71e95981f1c7c23e21968405ae3e30149d16417
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions