fix cursor leaks in F_B

my previous commit was submitted before i was finished.  Here is an updated version.

PS2: missing bracket

Change-Id: I9d8048e49695cdac7ded086cd49ee6eb99e518cc
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Fix appwidgets not updating

Previously there was a bug where if an appwidget's update caused a
TransactionTooLargeException then the AppWidgetServiceImpl.Host's
callbacks were completely disabled, for all widgets.

The fix still allows a DeadObjectException or other RemoteException
to disable the host callbacks, as that would be caused by a bad host.

Fixes issue 28216 on the public tracker
https://code.google.com/p/android/issues/detail?id=28216

Change-Id: I5c5d5939d7211ed23cca69e6674de730b51b0f3e
Signed-off-by: Kevin Barry <kevin@teslacoilsw.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
advanced reboot: add soft reboot option

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
GlobalActions.java: fix soft reboot

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
ShutdownThread: set soft reboot trigger accordingly

Change-Id: I72bd52aa1492d356e368e8c60897002c1f110172
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	services/java/com/android/server/power/ShutdownThread.java

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
MountService: Add support for multiple storage configurations

Currently AOSP only supports a single storage configuration that is hardcoded
in storage_list.xml. Some device updates are now merging data and internal
storage partitions, and as a result require the storage list to support two
different variations.

By utilizing the sys.storage_legacy property this will allow for the framework
to support multiple configurations which can be determined during boot.

Change-Id: Id795520425ea3e99a5234e10c978dcdbd68a1311
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
L Navbar Buttons

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Add Turkish Translations

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

core: Add Turkish

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Turkish - Add Remaining

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Fix Turkish Derp

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Change value to make less ambiguous

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Bump up Min notification height

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
hwui: Fix a sporadic crash seen during CTS runs

 * It's possible (due to race conditions) that a patch might be
   scheduled for removal twice. Just print a warning and continue
   instead of asserting and crashing.

Change-Id: I42865f6717816a743cc49ba15b839e6c3b57ed83
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Fix for broken volume music controls

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
TaskUtils: Update

- Added dedicated animations. Thanks to CM

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Don't unnecessarily set LayoutParams on children

Setting LayoutParams on children triggers requestLayout
which can be expensive and result in significantly lower
framerate for children layouts that don't need it. When
requestLayout method is invoked the needToMeasure boolean
will be true, this is what we'd like to avoid unless
it is actually needed.

BUG: https://code.google.com/p/android/issues/detail?id=72733

Change-Id: Id5d8f3431b5f943b1279eae41ee43d32a99514fc
Signed-off-by: Jacob Abrams <satur9nine@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
SystemUI: improve one finger notification expansion

Sometimes the quick settings ribbon would eat the initial ACTION_DOWN
setting mInitialTouchY in the expand helper, but we are clearly not in a
notification that we can expand here. So only set the initial y point if
we are inside the notification scrollview.

Change-Id: I628553ac15cc6b4ee3c682fe46bd1d96c6bc154d
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
hwui: Apply hwui qcom fixes to all adreno-bearing hardware

Even if the device doesn't fully use the qcom stack, changes to
libhwui are generally workarounds for adreno-specific issues and
apply across the board without other dependencies

Change-Id: I10455ebf09c1d00762b06e3c092398604bb39796
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "[AssetAtlas] Avoid packing 1-pixel width or height asset into AssetAtlas"

This reverts commit c954e55f4f9577b096a06beaa4198f69ec185c96.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "[AssetAtlas]: Fix AssetAtlas not consider all size of texture."

This reverts commit 367eb8488b5377f25640233b58010702324bffe5.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Theme-Chooser

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
SystemUI: Allow theming battery via theme chooser

Change-Id: Iebea2dab0ed89baa14c0f18a4c8f487cdb8313a6
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>

Conflicts:
	packages/SystemUI/res/values/colors.xml

Conflicts:
	packages/SystemUI/res/values/colors.xml

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Frameworks: Update DocumentsUI for theme chooser combatibility

PS2: credit: djdarkknight96
PS3: this time, use the correct owner info
PS:4 fix typo in styles.xml

Change-Id: I121099de6c09d33ef9f02019996eac1c6f1d3731
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>