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

Commit 656cd8d6 authored by Benjamin Gordon's avatar Benjamin Gordon
Browse files

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
parent 22bc5136
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