diff options
| author | 2020-05-15 23:34:51 -0400 | |
|---|---|---|
| committer | 2020-05-15 23:34:51 -0400 | |
| commit | 65c9da3e22a73803c601032fef0e009cd6941c76 (patch) | |
| tree | 9cb88538c5b0e44896d79bfbcc52a7d777ca3a31 | |
| parent | 3de7d3309ebf77c1f7207f7199bdb27d29fbe8be (diff) | |
Fix notification ids for share/delete actions
Fixes: 156644938
Fixes: 156668516
Test: manual
Change-Id: I9a254d9dcc02fc37cd4e40b25c11098df58238b1
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java b/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java index cf098d52fa91..960c50129a56 100644 --- a/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java +++ b/packages/SystemUI/src/com/android/systemui/screenrecord/RecordingService.java @@ -156,7 +156,7 @@ public class RecordingService extends Service implements MediaRecorder.OnInfoLis sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)); // Remove notification - notificationManager.cancel(NOTIFICATION_RECORDING_ID); + notificationManager.cancel(NOTIFICATION_VIEW_ID); startActivity(Intent.createChooser(shareIntent, shareLabel) .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); @@ -175,7 +175,7 @@ public class RecordingService extends Service implements MediaRecorder.OnInfoLis Toast.LENGTH_LONG).show(); // Remove notification - notificationManager.cancel(NOTIFICATION_RECORDING_ID); + notificationManager.cancel(NOTIFICATION_VIEW_ID); Log.d(TAG, "Deleted recording " + uri); break; } |