Merge "More memory updates" into mnc-dev

This commit is contained in:
Jason Monk
2015-05-28 14:24:34 +00:00
committed by Android (Google) Code Review
8 changed files with 113 additions and 17 deletions

View File

@@ -6664,6 +6664,21 @@
<!-- Label for maximum memory use section [CHAR LIMIT=30] -->
<string name="maximum_memory_use">Maximum memory use</string>
<!-- Label for app list of memory use [CHAR LIMIT=30] -->
<string name="memory_usage">Memory usage</string>
<!-- Label for app list of memory use [CHAR LIMIT=30] -->
<string name="app_list_memory_use">App usage</string>
<!-- Label for details about an app's memory use [CHAR LIMIT=30] -->
<string name="memory_details">Details</string>
<!-- Summary for how much memory an app has used [CHAR LIMIT=NONE] -->
<string name="memory_use_summary"><xliff:g id="size" example="30MB">%1$s</xliff:g> avg memory used in last 3 hours</string>
<!-- Summary for no memory use for an app [CHAR LIMIT=NONE] -->
<string name="no_memory_use_summary">No memory used in last 3 hours</string>
<!-- Menu item for Sorting list by average memory use [CHAR LIMIT=NONE]-->
<string name="sort_avg_use">Sort by avg use</string>

View File

@@ -15,7 +15,7 @@
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/memory_details_title">
android:title="@string/memory_usage">
<PreferenceCategory
android:title="@string/average_memory_use" />
@@ -36,7 +36,8 @@
android:layout="@layout/horizontal_preference"
android:title="@string/memory_maximum_usage" />
<com.android.settings.applications.SpacePreference
android:layout_height="15dp" />
<PreferenceCategory
android:key="processes"
android:title="@string/memory_details" />
</PreferenceScreen>

View File

@@ -51,4 +51,10 @@
android:title="@string/power_usage_summary_title"
android:selectable="true" />
<Preference
android:key="memory"
android:title="@string/memory_settings_title"
android:enabled="false"
android:selectable="true" />
</PreferenceScreen>