diff options
author | Sergey Nikolaienkov <sergeynv@google.com> | 2020-10-29 10:26:30 +0000 |
---|---|---|
committer | Sergey Nikolaienkov <sergeynv@google.com> | 2020-10-29 12:56:47 +0000 |
commit | 0b495ea0c32b5d5a9c2f6298a871dc3d50868971 (patch) | |
tree | 76bcee6ef0789872eac515e7e72d3cfd05c6d2f9 /rs/java/android/renderscript/ProgramStore.java | |
parent | 63a37a3a29861d66c9bf9e643f0218b0b4f0a6a2 (diff) |
Fix Pip dependenices on TV
Fix crash in .tv.PipController: .tv.PipController creates a
PipNotification object before assigning mPipMediaController, but
PipNotification calls PipController#getPipMediaController() from its
constructor, receives null, and causes NPE when tries to subscribe to
it.
This CL fixes the crash by providing PipNotification with a
PipMediaController reference directly (as a constructor param).
Bug: 169575409
Bug: 165795012
Test: make && flash adt3-userdebug
Test: atest android.systemui.cts.tv.MicIndicatorTest
Change-Id: I0010863921607cc315acfcbe0cb9d181b79d26b2
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions