Merge "Fix notification ids for share/delete actions" into rvc-dev am: f649827923
Change-Id: I164d4f9d268e6fe0b354e2d3fa02a0b03580b884
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user