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
Loading
Please register or sign in to comment