diff options
author | Griff Hazen <griff@google.com> | 2014-06-10 11:13:51 -0700 |
---|---|---|
committer | Griff Hazen <griff@google.com> | 2014-06-10 15:31:48 -0700 |
commit | 9f637d10959490c3a28e0f40330e97eb67e954d7 (patch) | |
tree | aa0732224f67d0b80ded19361ebec22d45717a96 /core | |
parent | 748856f2d91bd985af3b0973c4953cfa9a6a95ca (diff) | |
download | frameworks_base-9f637d10959490c3a28e0f40330e97eb67e954d7.zip frameworks_base-9f637d10959490c3a28e0f40330e97eb67e954d7.tar.gz frameworks_base-9f637d10959490c3a28e0f40330e97eb67e954d7.tar.bz2 |
Reduce notification service historical archive size to 1 for watches.
To remove the memory footprint
Bug: 15536759
Change-Id: I081bd962fef689b5d8ed126208499d56ebf4ae38
Diffstat (limited to 'core')
-rw-r--r-- | core/res/res/values-watch/config.xml | 4 | ||||
-rw-r--r-- | core/res/res/values/config.xml | 3 | ||||
-rw-r--r-- | core/res/res/values/symbols.xml | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/core/res/res/values-watch/config.xml b/core/res/res/values-watch/config.xml index 8d82a17..6052fb0 100644 --- a/core/res/res/values-watch/config.xml +++ b/core/res/res/values-watch/config.xml @@ -36,4 +36,8 @@ <!-- Maximum velocity to initiate a fling, as measured in dips per second. --> <dimen name="config_viewMaxFlingVelocity">8000dp</dimen> + <!-- Number of notifications to keep in the notification service historical archive. + Reduced intentionally for watches to retain minimal memory footprint --> + <integer name="config_notificationServiceArchiveSize">1</integer> + </resources> diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index bbc58f5..f239cc5 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -605,6 +605,9 @@ <!-- Default value for LED off time when the battery is low on charge in miliseconds --> <integer name="config_notificationsBatteryLedOff">2875</integer> + <!-- Number of notifications to keep in the notification service historical archive --> + <integer name="config_notificationServiceArchiveSize">250</integer> + <!-- Allow the menu hard key to be disabled in LockScreen on some devices --> <bool name="config_disableMenuKeyInLockScreen">false</bool> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 412ae9d..c5b8a5a 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1511,6 +1511,7 @@ <java-symbol type="integer" name="config_notificationsBatteryLedOn" /> <java-symbol type="integer" name="config_notificationsBatteryLowARGB" /> <java-symbol type="integer" name="config_notificationsBatteryMediumARGB" /> + <java-symbol type="integer" name="config_notificationServiceArchiveSize" /> <java-symbol type="integer" name="config_radioScanningTimeout" /> <java-symbol type="integer" name="config_screenBrightnessSettingMinimum" /> <java-symbol type="integer" name="config_screenBrightnessSettingMaximum" /> |