Add application shortcuts to toggle torch & Navbar

Patch-set 2: Added czech translation

Patch-set 3: Fixed NAVIGATION_BAR_BUTTONS_SHOW -> NAVIGATION_BAR_SHOW_NOW

Port of
https://github.com/AOKP/frameworks_base_disabled/commit/2c2876dfe780a38106bed905993923516d4eb2d1
Drawables are in repo already.

Change-Id: I5cdca8c956145abcba67590b4b410753266a0f9c
Signed-off-by: Petr Reznicek <kecinzer@gmail.com>
NavRing: fix layouts

Change-Id: I42f1fbae1af2e406cddc790c858523e887e591b7
Signed-off-by: Gergely Szell <sethyx@gmail.com>
Merge "Add application shortcuts to toggle torch & Navbar" into jb
ril: avoid sending null aid string in getIMSI

A change to how getIMSI works in JB causes null aid strings
to be sent.  The result for RILs older than v7 is a corrupt
ril response in SIMRecords::fetchSimRecords.  This corruption
ends up setting mImsi to null (in SIMRecords) and that causes
havoc w/ 3g/4g data connections.

This patch avoids sending null aid strings and has fixed
data connection issues on several Motorola devices.

This new patch is implemented as an opt-in old ril feature

Change-Id: I6682ea10c8b216e2adc5abffbcc50f3cb6c9d7b8
Adds the ability to force dual panel at any dpi (2/3)

This allows tablet mode with single panel and also
allows regular phoneUI with dual panel .
This will only affect apps with dependencies to
framework-res.apk , in other words gapps email.apk etc are not affected.
**Im curious to see how it behaves in tablet device the default
shoudl stick.

Change-Id: If11ff31e09e3b4f63de58be5d4024a91e54d639c
SmsUsageMonitor: Increase default # of sms sent in checking period

Credit: rholland80 :: TeamBAMF

Signed-off-by: BMc08GT <bmc08gt.teamb00sted@gmail.com>
Merge "NavRing: fix layouts" into jb
Revert "ril: avoid sending null aid string in getIMSI"

breaks toro(plus)

This reverts commit eb6636b324a5f2a7e4d25d8aaac677c99a250a25.
NavRing: Fixes layouts lastone, Promise.

The 1-3 layouts were a little low in portrait and I was getting
accidental app launches. This should clean this last bit up.

Here's screenshots so you dont need to build to see what it looks like.
https://www.dropbox.com/s/ynszsltv80sxwnt/Screenshot_2012-09-30-08-51-18.png
https://www.dropbox.com/s/ynszsltv80sxwnt/Screenshot_2012-09-30-08-51-25.png

Change-Id: I9471b9558a6ddcaf239adf7b4fa474086d2ce91d
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Allow mounting of multiple volumes via mass storage (framework part)

Cherry-pick from CM9.

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: Ibc11b9affdf22a438a4d25cf14435fb16b3ad6d6
Merge "Allow mounting of multiple volumes via mass storage (framework part)" into jb
Merge remote branch 'upstream/jb' into jb