Color images for Lock Screen Weather from AOKP

Change-Id: Ibd508e51cec012fbb6e01d57c237dc9898a742dd
SurfaceTextureClient: Add null-pointer check.

Change-Id: I3b69b92f59b4fd3fe28cc55816004b0dfe05549e
CRs-Fixed: 328648
Remove 10MB of useless video from builds

Change-Id: I7f0a17bcf2f66d4b5dadb2449939770cf445886d
Make lib dir before changing ownership of app dir

Backport of jb fix, change I8998a50359892277b15e80b5b5590ff94b125467

Change-Id: Id139c7b60f1ccd094670e67ee2b3c2d590364a11
Telephony: Reset the data registration state on radio off/unavailable

CRs-fixed: 380373
(cherry picked from commit 6716ad9c64467e01b268108909c2ef64430b6b9f)

Change-Id: I0973a583704ab502d7b7b22125bd314ed42703c9
DateUtils: Avoid Time.format() calls when unnecessary.

While preparing the full time/date formats, formatDateRange() function
unnecessarily creates the Day, Month and Year sub-strings by calling
Time.format() separately 3 times.

Ensuring to call Time.format() only once by specifying the full format type
for Full format text and hence skipping the above 3 individual calls.

CRs-fixed: 376187
(cherry picked from commit 37d2f5d76d53df193929d485ffb81818e2814619)

Change-Id: Ieff68f83c6d3cf1a356e464cfbb7ec92a0d940dc
audioflinger: Fix for Equalizer effect not to turn off

-Equalizer effect is turned off when more than 15 applcations are launched
-Activity manger closing the Equalizer effect when more than 15 application
are launched after music application.
-To resolving this issue removed setEnabled(false) from the AudioFlinger
 disconnect function.

Change-Id: If71a3ccc0be4b8778edcdf30572f026e0bc5f321
CRs-fixed: 376111
frameworks/base: Fix for LPA volume change with headset

- LPA volume is set without checking the output type
- Set LPA volume only when the output is LPA.

CRs-Fixed: 373975
(cherry picked from commit 9ef83a9038a76ef199bae9e5f1ad69da822b8af4)

Change-Id: Id2b6b2002231164b5622c4a71e2214b5b9a82836
libstagefright: LPA: Fix flush issue when seek in A2DP

- When pause is done while LPA clip playback over A2DP,
the output volume is increased for a moment right
before a pause of a playback.
- When Pause is done on AudioSink, flush is also issued.
Flush is not required incase of Pause. Flush is only
needed incase of Seek. Remove it from AudioSink pause.
- Add flush Api in seekTo when AudioSink is in Pause state
and remove flush call from Pause of AudioSink.

CRs-Fixed: 375325
(cherry picked from commit 9824803ac88b603aab8e094bdce9d714a46bd23d)

Change-Id: I206e9fa5f8cc577a2a43f05389f9859d7551f260
Merge commit 'refs/changes/18/24018/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/19/24019/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/16/24016/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/15/24015/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/81/20681/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/87/19787/2' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/10/18310/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics
Merge commit 'refs/changes/92/19592/1' of http://review.cyanogenmod.com/CyanogenMod/android_frameworks_base into ics