Merge "NoMan: Drop archive size to 100, strip EXTRA_BIG_TEXT" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1097b15569
@@ -1423,6 +1423,7 @@ public class Notification implements Parcelable
|
||||
extras.remove(Notification.EXTRA_LARGE_ICON);
|
||||
extras.remove(Notification.EXTRA_LARGE_ICON_BIG);
|
||||
extras.remove(Notification.EXTRA_PICTURE);
|
||||
extras.remove(Notification.EXTRA_BIG_TEXT);
|
||||
// Prevent light notifications from being rebuilt.
|
||||
extras.remove(Builder.EXTRA_NEEDS_REBUILD);
|
||||
}
|
||||
|
||||
@@ -101,6 +101,7 @@ public abstract class NotificationListenerService extends Service {
|
||||
* <li>{@link Notification#EXTRA_LARGE_ICON extras[EXTRA_LARGE_ICON]}</li>
|
||||
* <li>{@link Notification#EXTRA_LARGE_ICON_BIG extras[EXTRA_LARGE_ICON_BIG]}</li>
|
||||
* <li>{@link Notification#EXTRA_PICTURE extras[EXTRA_PICTURE]}</li>
|
||||
* <li>{@link Notification#EXTRA_BIG_TEXT extras[EXTRA_BIG_TEXT]}</li>
|
||||
* </ol>
|
||||
*
|
||||
* @hide
|
||||
|
||||
@@ -628,7 +628,7 @@
|
||||
<integer name="config_notificationsBatteryLedOff">2875</integer>
|
||||
|
||||
<!-- Number of notifications to keep in the notification service historical archive -->
|
||||
<integer name="config_notificationServiceArchiveSize">250</integer>
|
||||
<integer name="config_notificationServiceArchiveSize">100</integer>
|
||||
|
||||
<!-- Allow the menu hard key to be disabled in LockScreen on some devices -->
|
||||
<bool name="config_disableMenuKeyInLockScreen">false</bool>
|
||||
|
||||
Reference in New Issue
Block a user