telephony: Add Sony RIL for Qualcomm basebands

Change-Id: If50e220e54f0539cd84a472580507c227683152b
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
Kill app back-button : Don't kill default launcher

Avoid killing currently set default launcher.

Change-Id: Iaa2de02cfa1b94faabbb1ca86a01f185a55c5e93
Added hungarian translation for frameworks

Change-Id: I9ad8565731211f1d77ebba4cfeb8781290158ab1
HTCQualcommRIL: add HTC hack to stop displaying SIM unlock screen

Change-Id: I7d3cc0c38cfee33a31a22d947cf3e09cd9bcb134
Fix the Icons in the Expanded Volume Overlay

 * Defaulted the Phone Icon to be visible
 * Added the Alarm volume in expanded view
 * Fixed a bug that made the notification icon the same as the phone icon

These changes were made originally by myself in ics

They have been tested on a i9100

Change-Id: I2f4592f96267d80fcc2e5e817e5075e9becc9b06
Notification Widgets : Fix vibration

The initial value of the array determines how long till the vibration starts,
and second value determines how long to leave it on till.

Since config_virtualKeyVibePattern is in an overlay and we cannot rely on its consitency,
we check the length of the array, and based on it execute the appropriate vibration.

Change-Id: Ida88dabc2b3b364501e335bdbe45c84c3845c913
Make notification header settings icon align with the text

The icons were effectively 50 px while the text is 45 px. The
result was that they did not align properly.

Change-Id: I00ebccf96023ebd533daf3667dcba8981d609a9e
Merge "Kill app back-button : Don't kill default launcher" into jellybean
Merge "Fix the Icons in the Expanded Volume Overlay" into jellybean
Roboto: Fix for Unicode Character U+1EE1

LATIN SMALL LETTER O WITH HORN AND TILDE (U+1EE1) looked like
LATIN SMALL LETTER O WITH TILDE (U+00F5)

Change-Id: Ic9fa3432bcd6c36eadd82f2f48d1166d0fcc8b80
Merge "Notification Widgets : Fix vibration" into jellybean
SamsungRIL: Fix data connection after pin unlock

If the user has PIN-locked his phone, data connectivity will not
work because the RIL sends APPSTATE_UNKNOWN and does not update
it to APPSTATE_READY. We inject the state update if there's a
signal change.

Change-Id: Id64e95ebcadd1d7ff181f8d9c2ee4f18e6ae48f1
Smdk4210RIL: switch video and voicePrivacy, readability

Change-Id: I168abd4c11c576681d8d4774dfb751da8d19a49c
Merge "Make notification header settings icon align with the text" into jellybean
fix NAT detection in SipService

The NAT detection in SipService just checks if the client IP is a
private address. In this case keep alive is enforced. But if you
use a server which also has a private address, keep alive should not
be enabled to save battery.
This patch modifies the NAT detection to also check the server IP.
If both are private, NAT is not detected.

Change-Id: If4baaf1866253ca6c432e5cc4b07e3ebd9de6ba1
Lockscreen : Widgets before secure lockscreen fix

Due to user profiles, the lockscreen settings were moved and a check added to force
queries for such matter to go via LockPatternUtils.
Add a getter in order to abide by this for querying this preference.

Change-Id: If9ac2b29e33cd2183fd67af22a8db280c0c6e1a4
core:
Added missing danish translation

Change-Id: Ie87886629dc4a31d01138e1c9f298ee281c11ec5
values: updated pt translations, cleaned up ru ones

Change-Id: Ie9150aefaccaaf4d8418356a84a11a0321c411e9
Merge "Added hungarian translation for frameworks" into jellybean