From ada4b1b2eb37ed31d202d54345b21b4065fe1b5f Mon Sep 17 00:00:00 2001 From: lithid Date: Wed, 14 Mar 2012 03:08:14 +0000 Subject: Settings: Added cpu info and memory info to About Phone Settings This is pulled from gingerbread. No code looked like it needed to be re-done. This contains code from the following two commits. shafty023: http://review.cyanogenmod.com/#change,1774 Keyan Mobli: http://review.cyanogenmod.com/#change,1820 Patchset 2: Fix string constants Patchset 3: - Moved file paths to string constants - Check for meminfo and cpuinfo files, if bad don't show preference Patchset 4: - Created variables for each operation. - Wrote Long to print -1. Patchset 5: - Simplified and refactored Patchset 6: - Fix authorship herp derp Patchset 7: - Show only total memory, available memory would probably cause users to kill apps en masse. Change-Id: Ib0550a5af515ae3a48481412c5c9c504cd80b743 --- res/xml/device_info_settings.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'res/xml') diff --git a/res/xml/device_info_settings.xml b/res/xml/device_info_settings.xml index 6322ec4..0666034 100644 --- a/res/xml/device_info_settings.xml +++ b/res/xml/device_info_settings.xml @@ -122,6 +122,18 @@ android:title="@string/kernel_version" android:summary="@string/device_info_default"/> + + + + + +