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

Commit 58135325 authored by Beth Thibodeau's avatar Beth Thibodeau Committed by Automerger Merge Worker
Browse files

Merge "Fix notification ids for share/delete actions" into rvc-dev am: f6498279

Change-Id: I772e02ba0afae61674bb41f20ef52873b0949c44
parents e899b178 f6498279
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line 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));
                sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));


                // Remove notification
                // Remove notification
                notificationManager.cancel(NOTIFICATION_RECORDING_ID);
                notificationManager.cancel(NOTIFICATION_VIEW_ID);


                startActivity(Intent.createChooser(shareIntent, shareLabel)
                startActivity(Intent.createChooser(shareIntent, shareLabel)
                        .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
                        .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
@@ -175,7 +175,7 @@ public class RecordingService extends Service implements MediaRecorder.OnInfoLis
                        Toast.LENGTH_LONG).show();
                        Toast.LENGTH_LONG).show();


                // Remove notification
                // Remove notification
                notificationManager.cancel(NOTIFICATION_RECORDING_ID);
                notificationManager.cancel(NOTIFICATION_VIEW_ID);
                Log.d(TAG, "Deleted recording " + uri);
                Log.d(TAG, "Deleted recording " + uri);
                break;
                break;
        }
        }