UI/UX: Revert "Status bar activity indicators for mobile data and wifi"

* I dunno why this has been pushed. Is against our guidlines and this case
  has been discussed at the beginning of kitkat release.

* Also as reported here, it is intentional and we vetoed positive Google's
  decision as we usually do. Since this sauce builds official devices too, revert.
  http://www.androidpolice.com/2013/11/18/a-google-engineer-explains-why-kitkat-has-white-status-bar-icons-and-only-shows-connectivity-in-quick-settings/

This reverts commit b4415037aee233300792dadd62cf96329b283732.
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
core: add storage related strings

needed due to cm related issues

Change-Id: I966c92b44afc00880cdee55fcfb7253ed275e13b
Signed-off-by: Ayysir <ayysir@aospal.com>
Revert "core: add storage related strings"

This reverts commit fca0c26ba0c0c547a7630405476ea38986db80fd.
core: symbols.xml: add storage related items

needed due to cm related issues

Change-Id: Id518a2c04bd84179c583778281a8b3db9d6b99b2
Signed-off-by: Ayysir <ayysir@aospal.com>
Switch to JPEGs for AOSPA Wallpapers

Some parts of Android expect images to be in JPEG format - Therefore this commit removes the PNGs & puts in the JPEG versions of the wallpaper.

Change-Id: Ic0b4731b5c6dab5212e881c821280372148011e7
Themes: Force recompiling common resources when scanning theme

If a theme is re-installed multiple times and in less time than
the 3 minute timout for common resources, it is possible for the
installation to fail because it does not compile the common resources.
This is not something an average user would encounter normally but
theme designers that are working on there theme and constantly
installing updates have a better chance of encountering this situation.
We simply remove the theme from mAvailableCommonResources which will
allow them to be recompiled.

Change-Id: I04b64645157dbb1d0c26fab95c851b34bfff3f42
Merge remote-tracking branch 'pa/kitkat' into kitkat
extmediaplayer: miscellaneous fix

Fix for issue 20936 reported by KW.

Change-Id: I512657696d99bbe64edfffa0ad7c687651a31acc
Fix memory leak in nativeDecodeFileDescriptor

Fix memory leak in nativeDecodeFileDescriptor:
SkFILEStream::kCallerRetains_Ownership is used to keep
life cycle of file in Java,so fclose is not called when
destruct SkFILEStream because ownership not belong to
native here, while when file is closed in Java, close
is called instead of fclose,that means buffer allocated
by malloc in fseek, when create SkFrontBufferedStream
with this filestream, will not be freed, because this
buffer will only be freedin fclose.
To fix this issue: duplicate this fd, and use
SkFILEStream::kCallerPasses_Ownership for SkFILEStream,
means Java and native manage file life cycle separately.
CRs-Fixed: 718738

Change-Id: I1c664551ab8d381db2e1f948a2207bc6fb7a11f9
AudioService: Fix monitorRotation for landscape applications

Current implmntation only sends rotation updates on orientation
changes, so does not handle direct 0<->180 or 90<->270 transitions.

Update rotation based on an OrientationEventListener instead of
Intent.ACTION_CONFIGURATION_CHANGED

Bug 17606902

Change-Id: I01dfcd1c587f5b2e8a96365c2389782ad77936ef

Conflicts:
	media/java/android/media/AudioService.java
lowmemorykiller: Overwrite LMK parameters for low-tier devices

LMK parameters calculated by default algorithm were not optimal for
low-tier devices. Values mentioned here were well tested and
evaluated w.r.t memory and performance for such setups.

Change-Id: I40ed92d204aae6e758028ea1e9bd4ec7226dbe2b

lowmemorykiller: fine-tune LMK parameters for low-tier devices

LMK parameters for low-tier devices are fine-tuned for better
concurrency. Values mentioned here were well tested and
evaluated w.r.t memory and performance for such setups.

Change-Id: I0d547f1ec84863bbaedb68d9aba1ff7aef057e42
Support full size application screenshots

Add optional width and height parameters for
ease of capturing entire application screenshots

Change-Id: I6d154f6b33bfb8ec90e3757a40382c1dc6feaad3
Revert "Systemui: ignore bartransitions if we are not on highend gfx"

This reverts commit 8cee5e7df73efac25cb08d34bcab76770303bcb3.

Change-Id: Idcc944333139a84fd6215529591ca0b03a9b7e31
Enable unknown sources, disable package verifier

Credit @Cl3Kener

Signed-off-by: anerikg <anerikgames@gmail.com>
Frameworks: apple can do...we can do as well

incredible apple engineers speeded up the overall UI and reduced per default slightly
the animation scales. Well we do as well and reduce it from 1 to 0.75...smooth, looks well
and does not break anything

Change-Id: Icbcc889e49c8d3ab24cf2b1c10bbe0e8bf7e7637
Add dashclock widget by default
AudioService: Show safe volume panel for non-interactive volume adjustments

If safe volume is active, apps calling mp.setVolume() to adjust the
headset to a value higher than the threshold will have the operation
fail silently because no volume dialog is active to pop up the
"do you wish to override" question.
This is particularly bad for peripherals that use the audio jack
(Square readers, Jawbone bands), since they usually require levels
close to maximum for proper communication and the app isn't prepared
to deal with a silent rejection of the requested volume.

Change-Id: I2047d199506106a87841b8b680007c5ab45b527b
Signed-off-by: anerikg <anerikgames@gmail.com>

Conflicts:
	media/java/android/media/AudioService.java
base: update link ring-notifications after read user settings

Change-Id: Ib424124dc20e38243e572333e323ba97aacb1111
JIRA: CYAN-3559
Issue: https://jira.cyanogenmod.org/browse/CYAN-3559
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
MSimNetworkController: disable CHATTY logs

Change-Id: Ic9dd166aa6ac77647dc69acea31d2ebde3a87f0a
MSimNetworkController: Quiet logspam

* Most uses of Slog.d are not protected by the if (DEBUG) they should
  be. Make it so.

Change-Id: I36151113b1bfcdbe84c27abf39918441e23a8e88