[Android Builders Collective] fahadali2315:
Here you go

--------- beginning of crash

[ 01-08 12:07:33.688 1154: 1154 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.systemui, PID: 1154

java.lang.NullPointerException: Attempt to invoke interface method 'void android.hardware.ITorchService.addListener(android.hardware.ITorchCallback)' on a null object reference

at android.hardware.TorchManager.addListener(TorchManager.java:126)

at com.android.systemui.qs.tiles.FlashlightTile.<init>(FlashlightTile.java:41)

at com.android.systemui.statusbar.phone.QSTileHost.createTile(QSTileHost.java:283)

at com.android.systemui.statusbar.phone.QSTileHost.recreateTiles(QSTileHost.java:246)

at com.android.systemui.statusbar.phone.QSTileHost.<init>(QSTileHost.java:144)

at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:1056)

at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3366)

at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3362)

at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:526)

at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:734)

at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)

at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)

at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)

at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)

at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5238)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

[ 01-08 12:08:14.540 2026: 2026 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.systemui, PID: 2026

java.lang.NullPointerException: Attempt to invoke interface method 'void android.hardware.ITorchService.addListener(android.hardware.ITorchCallback)' on a null object reference

at android.hardware.TorchManager.addListener(TorchManager.java:126)

at com.android.systemui.qs.tiles.FlashlightTile.<init>(FlashlightTile.java:41)

at com.android.systemui.statusbar.phone.QSTileHost.createTile(QSTileHost.java:283)

at com.android.systemui.statusbar.phone.QSTileHost.recreateTiles(QSTileHost.java:246)

at com.android.systemui.statusbar.phone.QSTileHost.<init>(QSTileHost.java:144)

at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:1056)

at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3366)

at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3362)

at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:526)

at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:734)

at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)

at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)

at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)

at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)

at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5238)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

[ 01-08 12:08:18.194 2440: 2440 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.systemui, PID: 2440

java.lang.NullPointerException: Attempt to invoke interface method 'void android.hardware.ITorchService.addListener(android.hardware.ITorchCallback)' on a null object reference

at android.hardware.TorchManager.addListener(TorchManager.java:126)

at com.android.systemui.qs.tiles.FlashlightTile.<init>(FlashlightTile.java:41)

at com.android.systemui.statusbar.phone.QSTileHost.createTile(QSTileHost.java:283)

at com.android.systemui.statusbar.phone.QSTileHost.recreateTiles(QSTileHost.java:246)

at com.android.systemui.statusbar.phone.QSTileHost.<init>(QSTileHost.java:144)

at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:1056)

at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3366)

at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3362)

at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:526)

at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:734)

at com.android.systemui.statusbar.SystemBars.createStatusBarFromConfig(SystemBars.java:106)

at com.android.systemui.statusbar.SystemBars.onNoService(SystemBars.java:58)

at com.android.systemui.statusbar.ServiceMonitor.startService(ServiceMonitor.java:228)

at com.android.systemui.statusbar.ServiceMonitor.access$000(ServiceMonitor.java:49)

at com.android.systemui.statusbar.ServiceMonitor$1.handleMessage(ServiceMonitor.java:73)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5238)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)