Launch SuperSU from Settings

If SuperSU is installed, show an entry in Settings below
"Developer options", which launches SuperSU when tapped.
At boot time SuperSU will detect if com.android.settings
contains the resources from this patch, and if so it
will hide itself from the launcher. This was implemented
in v1.85, so we only show the entry if the installed
SuperSU version is at least that.

Change-Id: I1796d92458587b9e961d5d8e6d58099e8367834d
Settings: Use solid actionbar

When the action bar is visible, use the solid holo dark theme used
 by the rest of the Settings app

Change-Id: I41deeaa1988d59e121e6e81bcf3f42c570341f0b

Conflicts:
	AndroidManifest.xml
Settings: Squashed commit of all up navigation commits
Squashed commit of the following:

commit 7242f9225c63738a7b8d6663118c2d503d435546
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Fri May 9 10:16:55 2014 -0500

    Settings: Add up navigation for MiscFilesHandler

commit 93e3bf4ca866e00fac89f2bc69dd7027dd4b2b13
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Wed May 7 14:59:19 2014 -0500

    Settings: Add up navigation for Desktop backup password

commit 92dc1d3f98efeaf7ceee5a027a5143c4b4b27d85
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Mon May 5 17:55:44 2014 -0500

    Add up navigation menu for IccLockSettings

commit 85d5b51e5a22ece7ec7c87032062e8b9a9e800e2
Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Mon Dec 9 03:48:05 2013 +0200

    Settings: Add missing up navigation in menus

    Squashed forward port from cm-10.2

    Change-Id: Ia9d51b53df8a3eb4c1b9dee1aeefb0b74eac0fde

    Conflicts:
    	AndroidManifest.xml
    	src/com/android/settings/profiles/NFCProfileWriter.java
Settings: Squash all punctuation and capitalization edits

Squashed commit of the following:

commit 381c8de37a25e453830bcdbe45026d4c7581ac1f
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Tue May 20 16:19:17 2014 -0500

    Settings: Another petty commit Misc. -> Misc. files

commit 2919712fdf9e773371da12cccf2e5036409166a7
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Mon May 19 15:16:30 2014 -0500

    Settings: Petty commit Misc files > Misc. files

commit bd6c37706e8818856d04c9f0d3266f9c3a386a2a
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Wed May 7 14:42:02 2014 -0500

    Settings: Make the Desktop backup password header actually say Desktop backup password

commit cf5b2a5a3ad59863f0408d22e153989f88e4d11d
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Tue Apr 29 19:55:45 2014 -0500

    Build tweaks: Follow menu punctuation

commit 9e0dae6892cc3f375ce99b38445a8284c2d3a386
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Sat Feb 8 13:40:24 2014 -0600

    Settings: Capitalize Rom build name to follow menu punctuation

commit ba4db52e013ff33fb83ce549145d7d10271295dc
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Sat Feb 8 00:42:36 2014 -0600

    Add "stockui" to the build name in settings
Settings: Replace the single-option menu with a switch in cast screen

Taken from: https://github.com/CyanogenMod/android_packages_apps_Settings/commit/46af8086db0db5b41f20c9f05a5f42c182262576

Credits: CM
Settings: Integrate Voice+ into Settings (1/2)
Also add isPackageInstalled helper function

Change-Id: I4778443c219cd29a463e9c4dab60783dca251f0f
Signed-off-by: Roman Birg <roman@cyngn.com>
Fix the icon size in app lists.

E.g. the "Select app" dialog in the profile group configuration uses
this layout to inflate the list dialog. However app icons can have
non-standard sizes so we enforce a consistent width and height.

Change-Id: I71731a9bb3548c699cc2e0e600a5ff371ceacbc3
Settings: Squashed commit: Add basic AOSP App ops settings

Squashed commit of the following:

commit f7384b7a5a428e69f84ac50118d38722619758a0
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Wed May 28 01:18:33 2014 -0500

    App privacy -> App ops

commit e4e53474bd8fa4ae402534af6f4e4a392403ba7d
Author: MrBaNkS <banksmi09@gmail.com>
Date:   Tue May 27 20:18:48 2014 -0500

    Settings: Rename appops icon

commit cf4e248466d700a3d7aaf3081632bc811f2a46fc
Author: Danny Baumann <dannybaumann@web.de>
Date:   Mon Sep 9 13:17:43 2013 +0200

    Improve app op details layout.

    Change-Id: I38a2c3679633ae85aec61703ab933410775bb336

commit b5c49ef14281b142967a5a070c0254bf37c8322d
Author: Koushik Dutta <koushd@gmail.com>
Date:   Sat Dec 28 17:07:08 2013 -0800

    AppOps/Privacy Guard: Fix up misaligned switches.

    Change-Id: Ic9e1e09ac911e552599f7bca6fb71b2808548f1d

commit 129edfdc8ecd1e950cee6fc2cbf76347a943f699
Author: benjamingoodwin <benjamin.j.goodwin@gmail.com>
Date:   Sun Dec 29 13:56:16 2013 +0000

    App privacy (Google style)

    Credits: Benjy :) lol
'When to daydream' dialog does not follow the JB dialog design guide

The dialog is a single selection popup and according to the
dialogs design guide the popup should close when the user
has make his/her choice, but in this case it does not.

Change-Id: Iac6bc19146a88236d3253d2d846212ce09b4925b
Fix switching running/cached apps with memory bar

Fixes upstream issue #38735
http://code.google.com/p/android/issues/detail?id=38735

Ported from CM10
http://review.cyanogenmod.org/25775

This patch is already submitted to AOSP. No feedback from them yet.
https://android-review.googlesource.com/45993

Change-Id: I484e30d3fd4f5425e174911ae22bb2def170e6b8
Show memory full text only for internal storage

When the internal memory is full, a warning text is shown
in Settings/Storage. This warning was displayed for all
types of memory (internal/primary, sd card and usb storage)
even though it was only referring to the primary memory.
With this fix, it is only shown for the primary memory.

Change-Id: I35ad4b0b45c6752ddc9d7166495435b27fd4a170
Merge branch 'kk-ras-mr1.2_r2' of https://github.com/rascarlo/android_packages_apps_settings into kk