Prevent empty notifications from appearing
Bug: 6232216 Change-Id: I079c9467fe43649f0d0d744a34fd234697e0f765
This commit is contained in:
parent
e228be9d0d
commit
27f666af7f
@ -1926,7 +1926,7 @@ outer:
|
||||
"WHERE Boxes." + MailboxColumns.ID + '=' + Message.TABLE_NAME + "." +
|
||||
MessageColumns.MAILBOX_KEY + " AND " + Message.TABLE_NAME + "." +
|
||||
MessageColumns.ID + ">Boxes." + MailboxColumns.LAST_NOTIFIED_MESSAGE_KEY +
|
||||
" AND " + MessageColumns.FLAG_READ + "=0";
|
||||
" AND " + MessageColumns.FLAG_READ + "=0 AND " + MessageColumns.TIMESTAMP + "!=0";
|
||||
|
||||
public Cursor notificationQuery(Uri uri) {
|
||||
SQLiteDatabase db = getDatabase(getContext());
|
||||
|
Loading…
Reference in New Issue
Block a user