summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorKevin <kevhan@google.com>2019-05-14 14:46:35 -0700
committerKevin Han <kevhan@google.com>2019-05-14 22:38:10 +0000
commit8b62e317efc090e91212fad6731d33c2e7fde126 (patch)
tree76698e48eb3f466a20fa36e8046aa16a8860f3f7 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentdfae02f9289db3037197a81deb342c9f3c10c4c6 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions