InputMethodService: Disable fullscreen keyboard.

* Hardcode the keyboard in landscape mode avoiding going full screen.

Signed-off-by: BigBrother1984 <carlosavignano@aospa.co>

Change-Id: I290d17571204c753382873ca15b98a3ab5917765
Enable native tracking for RS contexts to improve GC behavior.

This should prevent apps from leaking RS contexts as easily.

bug 18579193

Change-Id: I2d943ce4443ce7cb90ebdd3dd37d338eda6df3a2
Avoid tearing down process groups twice.

The second removal always triggers a warning.

Change-Id: Ieafa8374dbffdaff0d576de004a688cae6f8ac18
[ActivityManager] Fix NPE when start activity

Symptom:
NPE occurs in line 1184 (resultStack.sendActivityResultLocked)
because resultStack is null.

Root cause:
When starting activity with FLAG_ACTIVITY_FORWARD_RESULT flag,
the resultRecord could be updated, but the resultStack is not
updated as well. In that case, the resultStack is still be
null. The exception will occurs if the activity is not
granted to launch due to permission denied.

Solution:
Update resultStack when resultRecord updates.

Change-Id: I91634e4f713c2e8dbd1a71f358a8fd9beed83ec7
Fix bugs regarding delay the dispatching of non-wakeup alarms

checkAllowNonWakeupDelayLocked() method determines that delay the dispatching of non-wakeup alarms.
(there are no wakeup alarms and the screen is off, it can delay until the future.)

if there is any pending non-wakeup alarms, non-wakeup alarm delivery time is bigger than nowELAPSED.
but, checkAllowNonWakeupDelayLocked() returns false and non-wakeup alarm is not delay until future.

i think it is necessary to reverse the inequality symbol on "mNextNonWakeupDeliveryTime > nowELAPSED"
if it isn't, Could you let me know when we get ¡°stuck in a loop¡± in the comment of checkAllowNonWakeupDelayLocked () method?

Change-Id: I7e972064547f4d0a9b4175dbd4cf735b4837abfd
Signed-off-by: Minho Choo <minho.choo@lge.com>
Disable Lots of Debugging

Revert "Debugging: Enable All Debugging until GPS bug is Squashed"

This reverts commit a7e2e0bfc70c866645c2f45df2ab06030c7e1131.

Change-Id: I9836dd477009ece01dda6a4feaaf00d1f7a3bfd5
From: Optipop rom
SystemUI: Materialize volume panel in/out animation

* Thanks to @David96 that had the original idea, material
  oriented, already during kitkat times.

Signed-off-by: BigBrother1984 <carlosavignano@aospa.co>
Change-Id: Ic79d404c4a0d5bc0a83d20cd4e0d7d5ad7b7c90f
SystemUI: Tiny expanding improvement

Signed-off-by: BigBrother1984 <carlosavignano@aospa.co>
ColorFade: Fix memory leak when screen turns on/off

See https://code.google.com/p/android/issues/detail?id=79729#c177

Signed-off-by: Andre Saddler <ayysir@aospal.com>
Change-Id: I88c2366c8a10b074b58169ee5fc05c12e8d05a9b