Revert "Messaging: Add "Mark as read" quick action for message notifications"

This reverts commit f19e916a0d.

Reason for revert: Reverting per Taesu Lee's comments, because it doesn't work and has issues.

Change-Id: I778362b628f4c3ae076dd943e77dee415984fba0
This commit is contained in:
Raman Tenneti
2020-05-19 18:29:03 +00:00
parent 3de360b933
commit eb1e0417eb
8 changed files with 4 additions and 85 deletions

View File

@@ -43,8 +43,7 @@ import java.util.HashSet;
public abstract class NotificationState {
private static final int CONTENT_INTENT_REQUEST_CODE_OFFSET = 0;
private static final int CLEAR_INTENT_REQUEST_CODE_OFFSET = 1;
private static final int READ_INTENT_REQUEST_CODE_OFFSET = 2;
private static final int NUM_REQUEST_CODES_NEEDED = 3;
private static final int NUM_REQUEST_CODES_NEEDED = 2;
public interface FailedMessageQuery {
static final String FAILED_MESSAGES_WHERE_CLAUSE =
@@ -79,11 +78,6 @@ public abstract class NotificationState {
*/
public abstract PendingIntent getClearIntent();
/**
* The intent to be triggered when mark as read is pressed.
*/
public abstract PendingIntent getReadIntent();
protected Uri getAttachmentUri() {
return null;
}
@@ -122,10 +116,6 @@ public abstract class NotificationState {
return mBaseRequestCode + CLEAR_INTENT_REQUEST_CODE_OFFSET;
}
public int getReadIntentRequestCode() {
return mBaseRequestCode + READ_INTENT_REQUEST_CODE_OFFSET;
}
/**
* Gets the appropriate icon needed for notifications.
*/