SystemUI: AntiFlickerTile: Catch NullPointerException
Log: 11-17 22:38:42.791 10389 10389 D AndroidRuntime: Shutting down VM 11-17 22:38:42.792 10389 10389 E AndroidRuntime: FATAL EXCEPTION: main 11-17 22:38:42.792 10389 10389 E AndroidRuntime: Process: com.android.systemui, PID: 10389 11-17 22:38:42.792 10389 10389 E AndroidRuntime: java.lang.NullPointerException: Parameter specified as non-null is null: method com.android.systemui.qs.QSHostAdapter.removeTile, parameter spec 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSHostAdapter.removeTile(Unknown Source:3) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile.updateConfig(AntiFlickerTile.java:102) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile.<init>(AntiFlickerTile.java:78) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.newInstance(AntiFlickerTile_Factory.java:87) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.get(AntiFlickerTile_Factory.java:71) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.get(AntiFlickerTile_Factory.java:19) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTileInternal(QSFactoryImpl.java:86) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTile(QSFactoryImpl.java:72) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSTileHost.createTile(QSTileHost.java:507) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSHostAdapter.createTile(QSHostAdapter.kt:188) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.customize.TileQueryHelper.addCurrentAndStockTiles(TileQueryHelper.java:129) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.customize.TileQueryHelper.queryTiles(TileQueryHelper.java:93) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.customize.QSCustomizerController.show(QSCustomizerController.java:195) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSPanelController.lambda$showEdit$1(QSPanelController.java:209) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSPanelController.$r8$lambda$z8OMM37iiXb3ks0E-1yg4Ohx0EE(QSPanelController.java:0) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.systemui.qs.QSPanelController$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:958) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:205) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at android.os.Looper.loop(Looper.java:294) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8173) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) 11-17 22:38:42.792 10389 10389 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) Change-Id: Iabe86b02056745ed2babf66fb4ef7d708fd74d09
Loading
Please register or sign in to comment