diff options
Diffstat (limited to 'java/com/android/dialer')
-rw-r--r-- | java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java | 5 | ||||
-rw-r--r-- | java/com/android/dialer/notification/NotificationThrottler.java | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java b/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java index dce51b750..9332acdb1 100644 --- a/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java +++ b/java/com/android/dialer/calllog/datasources/systemcalllog/SystemCallLogDataSource.java @@ -271,7 +271,6 @@ public class SystemCallLogDataSource implements CallLogDataSource { .query( Calls.CONTENT_URI_WITH_VOICEMAIL, getProjection(), - // TODO(a bug): LAST_MODIFIED not available on M Calls.LAST_MODIFIED + " > ? AND " + Voicemails.DELETED + " = 0", new String[] {String.valueOf(previousTimestampProcessed)}, Calls.LAST_MODIFIED + " DESC LIMIT 1000")) { @@ -399,7 +398,7 @@ public class SystemCallLogDataSource implements CallLogDataSource { new String[] { Calls._ID, Calls.DATE, - Calls.LAST_MODIFIED, // TODO(a bug): Not available in M + Calls.LAST_MODIFIED, Calls.NUMBER, Calls.NUMBER_PRESENTATION, Calls.TYPE, @@ -414,7 +413,7 @@ public class SystemCallLogDataSource implements CallLogDataSource { Calls.PHONE_ACCOUNT_COMPONENT_NAME, Calls.PHONE_ACCOUNT_ID, Calls.FEATURES, - Calls.POST_DIAL_DIGITS // TODO(a bug): Not available in M + Calls.POST_DIAL_DIGITS }; @RequiresApi(VERSION_CODES.O) diff --git a/java/com/android/dialer/notification/NotificationThrottler.java b/java/com/android/dialer/notification/NotificationThrottler.java index 9db744df6..329a084e8 100644 --- a/java/com/android/dialer/notification/NotificationThrottler.java +++ b/java/com/android/dialer/notification/NotificationThrottler.java @@ -41,7 +41,7 @@ import java.util.List; * unbundled notifications, the system displays all notifications until a global maximum of 50 is * reached. */ - private static final int MAX_NOTIFICATIONS_PER_TAG = 10; + private static final int MAX_NOTIFICATIONS_PER_TAG = 8; private static final int HIGH_GLOBAL_NOTIFICATION_COUNT = 45; |