Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
22672 commits behind the upstream repository.
user avatar
Hiroki Sato authored
It's possible that there's no package that receives QUICKSTEP_SERVICE
intent. In this case, PackageManager#resolveService returns null.
(Actually the method is annotated as nullable.)

This adds an explicit null check in the corresponding code.

Flag: none
Bug: 324510233
Test: tree hugger.
Test: ARC++ no longer throws NPE.
Change-Id: I2046d8bfca98963f58ff537b5769579c7dd6a49c
17ddad83
History