Skip to content
Commit 45943458 authored by Pranav Vashi's avatar Pranav Vashi Committed by Joey
Browse files

SystemUI: Fix RecodingController NPE with GameSpace



Log:

time: 1712799419431
msg: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.systemui.flags.FeatureFlagsClassicRelease.isEnabled(com.android.systemui.flags.ReleasedFlag)' on a null object reference
stacktrace: java.lang.RuntimeException: Unable to start service com.android.systemui.screenrecord.RecordingService@1949018 with Intent { act=com.android.systemui.screenrecord.SHOW_DIALOG cmp=com.android.systemui/.screenrecord.RecordingService }: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.systemui.flags.FeatureFlagsClassicRelease.isEnabled(com.android.systemui.flags.ReleasedFlag)' on a null object reference
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5053)
	at android.app.ActivityThread.-$$Nest$mhandleServiceArgs(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2390)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8496)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.systemui.flags.FeatureFlagsClassicRelease.isEnabled(com.android.systemui.flags.ReleasedFlag)' on a null object reference
	at com.android.systemui.screenrecord.RecordingController.createScreenRecordDialog(go/retraceme 916e735af3dfaeb2f1b32ac19de7e50c1052eb057959395bd436578eacdee75a:77)
	at com.android.systemui.screenrecord.RecordingService.onStartCommand(go/retraceme 916e735af3dfaeb2f1b32ac19de7e50c1052eb057959395bd436578eacdee75a:176)
	at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5035)
	... 9 more

Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent a5e630e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment