logd: settings: ro.config.low_ram support

- limit settings to 64K, 256K and 1M if ro.config.low_ram true
- Correctly handle ro.logd.size

Bug: 17526187
Change-Id: I2380b649516b29c2a98f54de18e5a4780b3421ce
This commit is contained in:
Mark Salyzyn
2014-09-17 14:05:15 -07:00
parent 69b674656a
commit 894af268de
2 changed files with 16 additions and 1 deletions

View File

@@ -894,6 +894,13 @@
<item>16M</item>
</string-array>
<!-- Titles for logd limit size lowram selection preference. [CHAR LIMIT=14] -->
<string-array name="select_logd_size_lowram_titles">
<item>64K</item>
<item>256K</item>
<item>1M</item>
</string-array>
<!-- Values for logd limit size selection preference. -->
<string-array name="select_logd_size_values" translatable="false" >
<item>65536</item>