diff options
-rw-r--r-- | core/res/res/values/config.xml | 4 | ||||
-rwxr-xr-x | services/core/java/com/android/server/notification/NotificationManagerService.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 56052464af06..9bff88a57232 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -4319,11 +4319,11 @@ <!-- Trigger a warning for notifications with RemoteView objects that are larger in bytes than this value (default 1MB)--> - <integer name="config_notificationWarnRemoteViewSizeBytes">1000000</integer> + <integer name="config_notificationWarnRemoteViewSizeBytes">2000000</integer> <!-- Strip notification RemoteView objects that are larger in bytes than this value (also log) (default 2MB) --> - <integer name="config_notificationStripRemoteViewSizeBytes">2000000</integer> + <integer name="config_notificationStripRemoteViewSizeBytes">5000000</integer> <!-- Contains a blacklist of apps that should not get pre-installed carrier app permission grants, even if the UICC claims that the app should be privileged. See b/138150105 --> diff --git a/services/core/java/com/android/server/notification/NotificationManagerService.java b/services/core/java/com/android/server/notification/NotificationManagerService.java index ca979f8b13cc..cd3343bbec7b 100755 --- a/services/core/java/com/android/server/notification/NotificationManagerService.java +++ b/services/core/java/com/android/server/notification/NotificationManagerService.java @@ -5112,8 +5112,8 @@ public class NotificationManagerService extends SystemService { } if (contentViewSize >= mStripRemoteViewsSizeBytes) { mUsageStats.registerImageRemoved(pkg); - Slog.w(TAG, - "Removed too large RemoteViews on pkg: " + pkg + " tag: " + tag + " id: " + id); + Slog.w(TAG, "Removed too large RemoteViews (" + contentViewSize + " bytes) on pkg: " + + pkg + " tag: " + tag + " id: " + id); return true; } return false; |