commit | 17ddad83de0672b4b0b0e5e95f96421674830029 | [log] [tgz] |
---|---|---|
author | Hiroki Sato <hirokisato@google.com> | Fri Feb 09 14:26:16 2024 +0900 |
committer | Hiroki Sato <hirokisato@google.com> | Fri Feb 09 14:32:12 2024 +0900 |
tree | 4cae5b7cb5ce67098c64345ceb2d9202aa036f6a | |
parent | 87a572fd767fc1bed83defa46e28a184792120eb [diff] |
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