SystemUI: Fix NPE in VolumeDialogImpl causing system crash
04-13 17:21:25.286 24331 24331 E AndroidRuntime: FATAL EXCEPTION: main
04-13 17:21:25.286 24331 24331 E AndroidRuntime: Process: com.android.systemui, PID: 24331
04-13 17:21:25.286 24331 24331 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.LayoutInflater android.app.Dialog.getLayoutInflater()' on a null object reference
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.systemui.volume.VolumeDialogImpl.initRow(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:13)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.systemui.volume.VolumeDialogImpl.addRow(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:42)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.systemui.volume.VolumeDialogImpl.onStateChangedH(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:115)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.systemui.volume.VolumeDialogImpl$10.onStateChanged(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:3)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.systemui.volume.VolumeDialogControllerImpl$C$3.run(go/retraceme 2ae4ff5c1eb4bcc2ef3572f2c364fc9924e827501ef214e06e34facb00de8fd0:11)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:959)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:232)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at android.os.Looper.loop(Looper.java:317)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8501)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
04-13 17:21:25.286 24331 24331 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Signed-off-by: afterallafk <shivamatiet2001@gmail.com>
Loading
Please register or sign in to comment