Skip to content
Commit 8b62e317 authored by Kevin's avatar Kevin Committed by Kevin Han
Browse files

Fix legacy recents crash on Go devices

Go does not have PIP enabled and thus does not put the PipUI component
when starting up System UI service componenets. However, as part of
moving things to legacy recents, we are now always listening to PIP menu
events even with the feature disabled and we hit a NPE since we get a
null component. This CL adds a simple null check and backs out if we
don't have the component.

Bug: 132703125
Test: No longer crashes on KB3 Go device
Change-Id: I55e4fc30dc392a8052850a726e756b03fd4c91f6
parent dfae02f9
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