Settings: correct kernel version display for all toolchains

The current regex assumes only one set of parethesis eg. (GCC)
many toolchains including linaro and googles gcc-4.6 eabi contain
two sets of them eg. (prerelease) (GCC) which borks the regex

This patch makes the regex less specific so versions built with any toolchain
should be displayed correctly.

Change-Id: I40de6b729c252e61953dfe1860a660a0e5b06b3c
Add preference for enabling root access (3/3)

 * Root over ADB is now disabled by default on non-eng builds
 * Requires support in su binary and adbd
 * Root access can be configured to use ADB only, apps only, or all

Change-Id: I132a35a31c676511db954ff19120fa6d3c795b23
Merge "Add preference for enabling root access (3/3)" into jellybean
Add an option to change the device hostname (2/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: Ibc145b74036617248d4f33c6866cc9c8a8cc8974
Add Modver to Settings.

Change-Id: I596064a80210517ff0dae30401f71b52adabd614

Rename modversion

Change-Id: I6557d5aa68a3ad00166cdd2b8951f425ad7800df
Added build date (ro.build.date from build.prop) to device info.

Change-Id: I5e19ee04de5c26822e171d4af8f4bfc052be9b74
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<gameboy45@gmail.com>:
http://review.cyanogenmod.com/#change,1774

Keyan Mobli<persiansown@gmail.com>:
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
Settings: Anonymous Statistics (CMStats)

CMStats is now integrated into settings.

Patchset 2 : Set service's exported value to false
Patchset 3 : Fix mismatched title for activity label
Patchset 4 : Renaming of strings
             Cleanup
             New icons (Thanks to Markus Guidry)
Patchset 5 : Change stats url
	     Add header to Utilities and reformat
Patchset 6 : Take into account unusual but possible use-cases
Patchset 7 : Fix alarmManager + preference mismatch
Patchset 8 : Update alarm setting (data calculation..etc)
             Avoid unecessary reset's
Patchset 9 : Use unix timestamp instead (No converting back/forth)

Change-Id: I25d8819e1d65413c516ed95c7038a1fe4a45d553

Settings : CMStats cleanup / Enabled by default

Make the default/firstBoot behavior of stats similar to what was in cm7

Change-Id: I1243326bc9405e107114207817c30387b1681984

Fix OCD string

Change-Id: Ice1b2c0c4882620eef774aca26b91a39d27f7b47
Update Russian Translation-Settings-CM10
Settings: Port CM9 features to CM10 (WIP) (Part 1 of 2)

This commit includes most of the CM9 settings except for
 - Navbar settings
 - Development settings
 - Lock screen shortcuts

Known issues:
 - Not all feaures work yet - some framework commits needed

Patch set 4  - Fixes System settings FC
Patch set 5  - Adds IME Switcher config (Rick C)
Patch set 6  - Fix strings layout (Rick C)
Patch set 7  - Add Power Widget Settings
Patch set 8  - Enable Tablet Power Widget Settings
Patch set 9  - Add Chrome and Search to Lock screen shortcuts
Patch set 10 - Enable Vol wake

Change-Id: I1619e4df07a0a797da337231ac589933fd8b8565
Settings: Fix build

- Comment out reference to drawables not yet merged
- Remove class used for lockscreen shortcut target selection

Change-Id: I6e367947375d081205e25c905a9e9c05d7c0e4a9
Settings: Fix crash on phones with no navi bar

 * Navigation Bar preference is commented out in the .xml for now,
   the code tries to remove the preference when it's not there.

Change-Id: I7208eb739e02e3e9722f613c1de5f097587acdd5
Settings: hide SMP from kernel version

Correctly hide the "SMP PREEMPT" from the date line on multicore devices.
Does not break anything on single core devices

Change-Id: I6c9a3e54f79240a9b5790cfb26a2fd3aff3d3ea4
Settings : Fix profile force close

Don't reinstantiate mTabManager, otherwise previous reference to
container is lost and fragment manager fails to find the container view
upon rebinding.

To reproduce :

Open settings
Click profiles
Click to customize a profile/application group
Click on another preference in side pane (Display for eg)

Note : Only occurs in tablet view

Change-Id: I3996e2f5756bb6166cec391c2b180d4d72691e14
Merge "Settings : Fix profile force close" into jellybean
Bring in the LogoActivity

Change-Id: If0376fc301b84e2f40e8111a2ac89ed7d94827ee
RadioInfo: Update the network type listing

The dropdown for the preferred type in the INFO menu is outdated.
ril.h and RILConstants now go up to type 11, due to the addition of
the LTE combinations.
If a device has one of these new types set up as the default, going
into this menu causes a crash for com.android.phone, since it attempts
to use array position "type" without verifying if it is that long.

Change-Id: I82b204c027cdfd2d2fe84633b036c3a41fd8d60a
Adb over network (Settings part for Jellybean)

+ Display WiFi IP Address & Port as preference summary.

Note: adb_over_network were already pushed in 5555aae3

Change-Id: Ia05aa8f6281c9bdcb3d5e62566b103c38bc70b82
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Settings: Power widget settings cleanup

Patchset 2 - Switch to MultiSelectListPreference

Change-Id: Ie8e2920bd1ef7b7db6958a561dad742e25d97c8c
Adb over network, fix the ui

the previous commit was merged a bit too fast...