Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65c9da3e authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Fix notification ids for share/delete actions

Fixes: 156644938
Fixes: 156668516
Test: manual
Change-Id: I9a254d9dcc02fc37cd4e40b25c11098df58238b1
parent 3de7d330
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
        }