QuickSettings: Fix NFC and Wi-Fi Tiles

Change-Id: I028abed74288e9d784449832860e574c8225af5d
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
add ability to unlink notification volume from ringtone volume

set initial notification link initial state
SysUI:  NavBar & Widgets rollup [1/2][WIP]

This will bring back NavBar widgets, along with some
changes/rollups on the NavBar side.
Very much a WIP. Just wanted to post where I was so others
could continue if I get busy.

2 :  Address some Tablet stuff
3 :  Icons & Strings
4 :  another icon
5 :  more icons & layouts
6 :  fix some shortcut/aokp action stuff- fix NavRing so it
     only inflates on swipe, not long press of home.
7 :  Roll in jubakuba's porting of Hide NavBar.  Really needed to
     be handled in this mega-NavBar commit rather than separately.
8 :  API change fix for setInitialDisplaySize
9 :  restore Searchlight (NavRing on lockscreen) that got removed
     during the previous edits.
10 : move togle classes under aokp package
11 : Fix reference in Phablet NavBar layout

Change-Id: I002e58366984d3a728987aba09f6a52b76ee2c59
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Merge "SysUI:  NavBar & Widgets rollup [1/2][WIP]" into jb-mr1
framework fix up AOKP status (1/2)

original commit by whitehawkx

ps3: remove dependency

Change-Id: I923e05e684e8769b9fa5cad23a7da7c0e927dbe1
Signed-off-by: Jubakuba <Jubakuba@gmail.com>
App Resolver  (1/2)

Removes the 'Alt App Grid' option and makes a 'compromise'
app-resolver as default.  The new resolver retains the look
of JB, but adds the old 'one click' functionality of ICS.

picture here:
https://twitter.com/Dont_Panic_Zaph/status/275336603424149504

Change-Id: Iafa3283a165dd55f61e6ea32fbd2a91459399464
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
App Resolver - fix NPE

Derp Factor = ++Zaphod.

Change-Id: I1ced9eed198a30bf3c54e6926957f93a4915599e
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SysUI - Return Search as NavBar option [2/2]

See RC commit.  Bringing back search as a 'KeyCode' for
the NavBar as opposed to forcing it as a Shortcut to Google/Search.

Change-Id: Ia043ebb284e6b0ee64328d2331aff52510fd8c94
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Frameworks - Make NavBar hide [1/2]

Needs Jubakuba's RC commit to bring back the NavBar
controls in the power dialog.

Change-Id: I970bae38a2ae859d9f364d3d14cdb9b5e5183624
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Allow all widgets to be added to lockscreen.

Instead of this halfhearted approach, it should
be an option through ROMControl.

Make option for rc.
White Space

Change-Id: I75ee3ba85e0263f1e8f090beccaab2dbe2bbb7a4
SystemUI: Fix/Update some quicksettings icons

Change-Id: Id9abcd0c7accbe154c0c36b2c13f99f863d02a68
Signed-off-by: Kyle Teague <kwesley1020@gmail.com>
Telephony: Add getLteOnGsmMode() method (1/2)

Same functionality as the existing getLteOnCdmaMode, but for GSM
LTE devices.
Enable with the telephony.lteOnGsmDevice system property

From CM 10.0: Ibfb47ca608e51393b99d3308e0a6c66050b3f32e
- Moved getLteOnGsmModeStatic() to TelephonyManager.
Prevent scanning during DHCP process

Wi-Fi should be in active state during the entire DHCP process, and
shouldn't go to IEEE 802.11 power save mode. If the framework requests
scan during the DHCP process, the Wi-Fi chip has to start scanning
on channels different from the current one, and going to power save
mode is a prerequisite for scan. The result directly impacts user
experience: DHCP process takes longer, and even can fail.

Change-Id: I8171388bb70072e4c42cb3c074dd955da84e494b
add bools to overlay for Samsung CDMA SMS decoding hacks

ported from CM7/9/10

required by : http://review.cyanogenmod.org/#/c/26918/

Change-Id: I28093cdb8770f98b94cedbff63e6121c798cf9af
Do not set the network mode differently for LTE+CDMA

ro.telephony.default_network can be set if needed to set a different
value for LTE+CDMA. No need to hardcode preferred network mode in the source code.

Change-Id: Iae65f72a6a3bc31d500c5ecec87368a6f2a5d117

Conflicts:

	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
Allow mounting of multiple volumes via mass storage (framework part)

(cherry-picked from CM10)

The volumes to mount is taken from storage_list.xml (allowMassStorage)
rather than ro.additionalmounts in CM7.

Hand ported from the following patches:

commit 0233209827d95221399b1fe0185f79863fc6bf26
Author: Tony Layher <layhertony@gmail.com>
Date:   Sun Jan 2 12:46:38 2011 -0500

    forward port of 93bb95929a0c017498625a87654b4d114fe17b96 to allow mounting and sharing of mulitple volumes to MountService.

    Change-Id: I9fa3994e6e7b85360b451f57c1cdd4df921bc035

(the second part of the above patch was not ported)

commit 678fadf517126c8468ef2d8dcaea9c9fce96035b
Author: Josh Stone <cuviper@gmail.com>
Date:   Sun Nov 7 13:38:58 2010 -0800

    MountService: Remount all volumes after USB disconnect

    If USB was removed while UMS was enabled, the MountService was only
    remounting the primary share.  Any other shares, like the HTC Inc's
    emmc, were left in limbo.  This patch now iterates over *all* shared
    volumes to remount after disconnect.

    Change-Id: Ie6fd49ad80ba6fa0e4e194a386549cac786b4bbe
    Signed-off-by: Josh Stone <cuviper@gmail.com>

commit b1da9ed003edcd10ccda56fdf087e8f1b0f77b2a
Author: Josh Stone <cuviper@gmail.com>
Date:   Sat Jan 22 12:03:53 2011 -0800

    MountService: Only notify PackageManager for true ASEC changes

    MountService can be dealing with multiple mounts (emmc, sdcard), but
    only the EXTERNAL_STORAGE has any ASEC mounts on it.  Since the PMS
    updateExternalMediaStatus doesn't specify the path, we need to make sure
    it's only called for the real ASEC mount.  Otherwise we get into nasty
    race conditions when multiple mounts are coming and going, like during
    UMS transitions, and sdcard-installed apps tend to break.

    Change-Id: I85c6a601e84afd30b44270b0892686c2d864ce8d

commit c8c58f3d14fbb8c77ab1e90541e59fb74bef54cf
Author: Josh Stone <cuviper@gmail.com>
Date:   Sun Mar 6 12:34:50 2011 -0800

    MountService: Unmount secondary volumes more carefully

    Use the same message handler for unmounting both the ASEC external-
    storage path and any secondary paths like emmc.  This seems to help with
    additional race conditions encountered on Inc.

    Change-Id: Icca71756fa6721bd85da1f35b8b8c7fc7caa1eb1

commit 47495ab860ed97499e0c4268bf40b1f9c429bf99
Author: atinm <atinm.dev@gmail.com>
Date:   Sun Apr 10 14:50:41 2011 -0400

    Allow multiple shareable SD Cards by using getShareableVolumes()
    to get all the volumes that are shareable and allowing
    sharing/unsharing for all of them rather than just the hardcoded
    getExternalStorage calls.

    Unmount immediately if PM is not updating and not an ASEC
    mount. Change from Josh Stone.
    Change-Id: Iaf1a7a4484deac373e1c1d7bf16d5f22ca49fd64

    Only allow package manager for sdcard (packages aren't on
    external card).

    Change-Id: I0d148ea52dc1285905a9dd061d1ceedcfb761b52

    Take out extra logging.

    Change-Id: I6beb007700ef4be04c3eb273bbf2069c87b30011

Change-Id: I5ea83afeda6cdaf63dd15857b3827bb00afbd6d2
Merge "SystemUI: Fix/Update some quicksettings icons" into jb-mr1
Merge "Allow all widgets to be added to lockscreen." into jb-mr1
Lockscreen: Option for Unlimited Widgets 1/2

Change-Id: I84233118664debce7f28e628eaf675c624533d0a
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Merge "Prevent scanning during DHCP process" into jb-mr1