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

Skip to content
Commit 17ddad83 authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Prevent NPE in OverviewProxyService's LauncherStateChangedReceiver

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
parent 87a572fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment