Added config file for Tegra3 devices

Conflicts:

	core/res/res/values/config.xml

Change-Id: Icd82b1f6c3eda48b04d16bd7e30fad06f544d82e
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>
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
Tablet Love: Navring, Kill all, more..

This is phase 1 one tablet love.
Kill all button added to recents
fixes for nav ring accidental presses (rasied phone too)
New layout for Navring on tabs and grouper while in TabletUI
(xmls still need cleaning up just need sleep first. Fuck XMLs.)

Change-Id: I3e7b006821c2a1e6c1358ef056bdaf59b0cd32c5
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Merge "Tablet Love: Navring, Kill all, more.." into jb
Merge "Added config file for Tegra3 devices" into jb
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 branch 'jb' of https://github.com/AOKP/frameworks_base into aokp_jb

Conflicts:
	core/res/res/values/config.xml

	modified:   core/java/android/preference/PreferenceActivity.java
	modified:   core/java/android/provider/Settings.java
	modified:   core/res/res/values/config.xml
	modified:   core/res/res/values/public.xml
	modified:   packages/SystemUI/AndroidManifest.xml
	new file:   packages/SystemUI/res/drawable/navbar_search_outerring_left.xml
	modified:   packages/SystemUI/res/layout-port/status_bar_search_panel_five.xml
	new file:   packages/SystemUI/res/layout-sw600dp-land/status_bar_search_panel_left.xml
	new file:   packages/SystemUI/res/layout-sw600dp-land/status_bar_search_panel_left_five.xml
	new file:   packages/SystemUI/res/layout-sw600dp-port/status_bar_search_panel_left.xml
	new file:   packages/SystemUI/res/layout-sw600dp-port/status_bar_search_panel_left_five.xml
	modified:   packages/SystemUI/res/layout-sw600dp/status_bar_search_panel_five.xml
	modified:   packages/SystemUI/res/layout/system_bar_recent_panel.xml
	modified:   packages/SystemUI/res/values-cs/strings.xml
	modified:   packages/SystemUI/res/values/strings.xml
	new file:   packages/SystemUI/src/com/android/systemui/CreateShortcut.java
	new file:   packages/SystemUI/src/com/android/systemui/NavbarToggle.java
	modified:   packages/SystemUI/src/com/android/systemui/SearchPanelView.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	modified:   services/java/com/android/server/MountService.java
	modified:   services/java/com/android/server/am/ProcessList.java
	modified:   telephony/java/com/android/internal/telephony/SmsUsageMonitor.java