Fix Missing Import/Increase HeapGrowth Limit
Revert "frameworks/base: Increase Zygote preload GC threshold."

This reverts commit a2a65bcec91c9db6ed5255e4000da59b2ce29d0f.
Merge github.com:LiquidSmooth/android_frameworks_base into jb2

Conflicts:
	core/java/com/android/internal/os/ZygoteInit.java
Revert "DexOpt anything on /system in /cache/dalvik-cache"

This reverts commit 8667070c091dfbd83087e9472072bce89e6cdf83.
Revert "Revert "DexOpt anything on /system in /cache/dalvik-cache""

This reverts commit 2decf53ade0050d3ff87b1140d5774bdbebf8f52.
A tiny optimalization

Change-Id: Ib2cb773ffe5cb579c2b46bd0e6a5a3f2c55d190d
Return error upon attempt to use non-existent APN

startUsingNetworkFeature will ignore errors from
reconnect - causing ConnectivityService to send
faulty information back to requester.

Change-Id: I4e0fcc1addd84da409cdc1eed1a95d25d925e020
Fix DateUtils.formatElapsedTime.

More reuse of StringBuilders, less broken home-grown formatting code.

Long-term, we should hand this over to icu4c, but they're not ready yet.

Bug: http://code.google.com/p/android/issues/detail?id=41401
Bug: 7736688
Change-Id: Ib3c1e1aad05827df646aa18645cce19dffb7551f
avoid crashing system serer process

Context#unregisterReceiver will throw IllegalArgumentException
if the receiver has already unregistered.

In GlobalAction class, when SilentModeAction is changed, it will
close the dialog with some delay. So there is a possibility
that it would unregistere again for the same receiver if a user
changes slient mode againand again. System must not crash in such
a case.

Change-Id: I33662feb48a770d39a8413901ec77ac1acd16bc7
Remove unnecessary locking for screen broadcasts.

The actual handling occurs in updateScreenOn() on the other side of a
handler, which acquires the lock correctly.

Change-Id: Ibd359446dba8e88f81d34f1e10a6b5e150348f89
Revert "Patch Set 1/2: Add an "Automatically Connect" option for WiFi networks"

This commit breaks 3rd party apps like Tasker.  It is being reverted until a better solution can be found.

This reverts commit 19c7d4995a554bc26a17b55f481193c435d30560

Change-Id: Ie279aab8f52bd30dc21dbc70040fb3bd23721e33
Wi-Fi: Ping the driver for wifi-only devices

Wifi-only devices are not capable to find APs with hidden SSID unless a DRIVER COUNTRY command
will send to wifi driver. This change has:

- Send DRIVER COUNTRY command to ping the driver (to correct the seek of hiddens SSIDs)
- Save mCountryCode as uppercase because the wifi_countrycode_values array is in uppercase.
  Otherwise the preference will not be found.

Patchset 7: Rebase
            Do not set mCountryCode if country is null

Change-Id: Ie0f838aef07eaf683b713f7f0e46ff3c751523ab
change "systemui:KeyRepeat="true" to "false"

changing to false removes the long hold recents apps on home key.
Change Long Hold Of Home For Recents For All...

Devices....

Credit to Winner00 and AOKP for the fix :)
Api 'Update'
Merge branch 'jb2' of github.com:mattmanwrx/android_frameworks_base into mattmanwrx-jb2

Conflicts:
	core/java/com/android/internal/os/ZygoteInit.java