Automatic Translation Import

Change-Id: Ia241eeb58ba4e2726f10c5250ffaae9e5af9de52
PackageManager: Fix logic around upgrading text display

* This code has all threads writing into the integer keeping track of
  the number of packages at once.
* Make this integer an atomic one, preventing all threads from racing
  when updating it.

Change-Id: I727306f8ab20edb7ec2a955ca20e6de0146c7737
StatusBarView: Ensure to not overload in/out animations

- Post animate call in main thread, thanks @David96
- Handle animation checking current view visibility

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: David L.-W. <xD_e-mail@gmx.de>
Merge "PackageManager: Fix logic around upgrading text display" into kitkat
Merge "StatusBarView: Ensure to not overload in/out animations" into kitkat
Framework: Forward port Long press back to kill app

Original author: DaneshM

Change-Id: I54f4fb861897fe713cffa15422535c5091a0c095

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Merge "Automatic Translation Import" into kitkat
Framework: Bring Long press to kill app toast back

It is now supported thanks to pawitp commiting the context fix for
displaying framework toasts

Change-Id: I8ab1beb49fc3b61355de8bc207482e2f51ff3e2a
Signed-off-by: Rob Beane <robbeane@gmail.com>
SettingsProvider: enable non-market apps by default

Change-Id: Ie9a9da32f4b31084904c8109ae073a03da88b06a
Signed-off-by: Rob Beane <robbeane@gmail.com>
Merge changes Ia241ee,I727306 into kitkat

* Automatic Translation Import
* PackageManager: Fix logic around upgrading text display
* StatusBarView: Ensure to not overload in/out animations