diff options
| author | 2024-03-13 23:53:46 +0000 | |
|---|---|---|
| committer | 2024-03-14 17:28:02 +0000 | |
| commit | 133ec115c4ea5b41c240c495c5605b41289eb98a (patch) | |
| tree | c6d7d37cdd05bd41040c069978c41e2ea6c3bedc | |
| parent | 7328ecc14719ae3470df702504501f560da6d4a1 (diff) | |
Show "recording issue" text on notification, even when not recording screen.
This bug was happening because mAudioSource had no default value, which
affected an if statement while creating the notification message.
Bug: 305049544
Flag: ACONFIG record_issue_qs_tile DEVELOPMENT
Test: Manually tested that everything works on device.
Change-Id: I61700f3266ec2d4e64a1c301bd56a9b9accd46b9
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java b/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java index ac94f39bff5a..b2c01e180ec4 100644 --- a/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java +++ b/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java @@ -82,7 +82,7 @@ public class RecordingService extends Service implements ScreenMediaRecorderList private final RecordingController mController; protected final KeyguardDismissUtil mKeyguardDismissUtil; private final Handler mMainHandler; - private ScreenRecordingAudioSource mAudioSource; + private ScreenRecordingAudioSource mAudioSource = ScreenRecordingAudioSource.NONE; private boolean mShowTaps; private boolean mOriginalShowTaps; private ScreenMediaRecorder mRecorder; |