summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Hiroki Sato <hirokisato@google.com> 2024-02-09 14:26:16 +0900
committer Hiroki Sato <hirokisato@google.com> 2024-02-09 14:32:12 +0900
commit17ddad83de0672b4b0b0e5e95f96421674830029 (patch)
tree4cae5b7cb5ce67098c64345ceb2d9202aa036f6a /api/api.go
parent87a572fd767fc1bed83defa46e28a184792120eb (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions