Backlight: Reduce default timeout to 1 second

Change-Id: If3e2cdf28fa2cd6c2c5f7cd001109d7637c03403
Disabled scrolling cache

Change-Id: Ica7353e2b491743000dd3c788e5925d85ca11a3b
Turn off debugging

Change-Id: I37c1f9da1b7fb9b812f77239cb4aeb2861c43d1d
StopSwitchDelay - Remove 5s Delay To Open Apps After Pressing Home Button

Conflicts:
	services/java/com/android/server/am/ActivityManagerService.java

Change-Id: I86b882244dc5e240a2e94d651fa5366c43919dee
Clean up ExceptionOccurred.

Use ExceptionCheck before ExceptionOccurred since ExceptionCheck
doesn't acquire any locks and is faster.

Change-Id: Ibd87fd1e33b339bd2a6effa1d20d3253c8a61bdc

Conflicts:
	core/jni/android_util_Binder.cpp

Conflicts:
	core/jni/android_util_Binder.cpp
Add ANT to the list of toggleable airplane mode radios

Adding ANT to the list of toggleable radios allows ANT to behave in the same way as Wifi or
Bluetooth in regards to operation during airplane mode: when airplane mode is turned on, ANT is
disabled, but can be re-enabled by the user at any time.

Change-Id: Idb9e9499fd7a7fccee8c459779ec86bf24e1373e
Remove unnecessary explicit GC in ZygoteInit.

Removes > 1s of GC time and hundreds of GC during device boot.

Zygote size before: 8388608
Zygote size after: 8388608

No increase in zygote space size due to zygote compaction.

Bug: 16398684

Change-Id: I3c6f5a0b26a207ab39bb0a952400d7488e42f00c

Conflicts:
	core/java/com/android/internal/os/ZygoteInit.java
Sounds: Cleanup duplicate ringtones/alarms

Removes duplicates from AllAudio makefile and fixes title tag of
Promethium (from Platinum).

Change-Id: I767a846dbc5575ec9f86b1326e0b9f7aa015086b
frameworks/base: Add support for fully transparent layers

Allow apps to specify a window to be fully transparent. This hint
can be used later by the compositor to drop the layer.

Change-Id: Ib58f1026e74ca39e7160d2adcb34ebf50ec28a9a
media: allow full range of Vorbis sampling rates

Bug: 18615604
Change-Id: I51f0c5c81145b94626f2b7e4505b905b63a572bf
media: fix isSupportedFormat for integer frame rate

Bug: 18473065
Change-Id: I670cc043d3cb117c26921cb639ff9eecc8f14b0a
media: Scan FLV files, because why not?

Change-Id: Ia517d3057d843d7306f567cdbdddddd63c472a2b
frameworks/base: Fix delay in sending AUDIO_BECOMING_NOISY intent

AUDIO_BECOMING_NOISY intent is sent as background intent which causes
delay in receiving pause event. This delay caused audio leak. By
marking the event as FLAG_RECEIVER_FOREGROUND, this intent is
received sooner by Application.

Change-Id: Ib978cf8322dcddbc01f59824f95fa7800f9c35af
CRs-Fixed: 652549
Reduce log verbosity: Don't spam logcat

Change-Id: I47fee6a90c9c88fe451b4c35182ed8601d6b326d
fw: media: Handle NPE due to threading race

Change-Id: I6eab5bc3d687edfa6f0839e439b3314bed4fdcea
libaudioeffect_jni: GREF leak fix for JB

- Excessive JNI global reference in AudioEffects.
- Global references created during native setup
  are not deleted.
- Global references are deleted in setup failure
  and during native release.

(cherry picked from commit a04a2bf4563dc20c52f4d4239e01f80b220077a5)
CRs-fixed: 413633

Change-Id: Ia4340a2128850101b394e00c8e1db9db49f516fd

Conflicts:
	media/jni/audioeffect/android_media_AudioEffect.cpp
	media/jni/audioeffect/android_media_Visualizer.cpp
improve rotation handling

this commit was rewritten/inspired by one made to our jb 4.1 branch by sonicxml.

cheers buddy!

Change-Id: Ib3b46aa54e7bf6602f8c0557ed770624063af529
Scroll: modified velocitytracker

Velocitytracker and overscroll are called on every touch event to
calculate if there is a scrolling/fling. Move this and the recycling
to static voids so they are pre-optimized at compile time rather than
after evoking the method call during runtime (JIT) to increase responsiveness.

-Vanir

Change-Id: Ic7351da58f29281ca2b6a788386b95b68b552390

Conflicts:
	core/java/android/widget/ScrollView.java
Memorize memory class lookup methods

These methods are commonly accessed.  Lets make sure we only do systemproperties lookup
once since these values aren't changing afterwords.

Credits: VanirAOSP

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

The second removal always triggers a warning.

Change-Id: Ieafa8374dbffdaff0d576de004a688cae6f8ac18