Merge tag 'android-5.0.0_r5' into lp5.0-caf

Android 5.0.0 release 5
Merge branch 'lp5.0' of https://github.com/SlimRoms/frameworks_base into lp5.0-caf

Change-Id: I974bfe1dead359acec4915552d1aff2a10a09147
base: fix external sdcard mountpoint

It needs to add that line on init.xxxx.rc on rootdir folders.

"chown root root /mnt/media_rw"

Needed for devices that has some troubles mounting storages.

Credits: http://forum.xda-developers.com/showthread.php?t=2537793

Change-Id: I0c9e2ae5439c8d8a762904e2760eb6590ce77a62
Make "SD Card removed" notification dismissible if the removed SD Card is not the primary storage

The Galaxy S uses the "external SD Card" as the extended storage
and it the notification should be dismissible as it's okay not
to have it.

Additionally, this patch also not hide the USB storage mount dialog
if the removed storage is not the primary storage

Adapted for CM 11

Change-Id: Ic752a3da917e0d7736a619fb68f07905106987fb
SystemUI: Add missing recycle calls

Change-Id: I6e5346d9f423350e643d696299136799b78cdd28
Framework: Configurable 0, 90, 180 and 270 degree rotation (1/2)

thanks cm

Change-Id: Ie950679d3515234ab30e6da04cba2659c463425d
Screenshot Delete thanks to DvTonder and

PA where I saw this patch. Changes to original:

minor cleanup + added all needed drawables (xxhpdi and mpdi)

Change-Id: Id458312cd6a66d12caa6ceffba3ba13547caa939
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Merge branch 'lp5.0' of https://github.com/SlimRoms/frameworks_base into lp5.0-caf

Change-Id: I78d1d5a3fcbd95472bef8575d3a4a51deb1983f6
Merge branch 'lp5.0' of https://github.com/SlimRoms/frameworks_base into lp5.0-caf

Change-Id: Ia183488eeabd1219e421e2cb0be8cd5dca4edbb9
Merge branch 'lp5.0' of https://github.com/SlimRoms/frameworks_base into lp5.0-caf

Change-Id: I5f757c0d39484200a185018b947ccc75e6c23b59
PackageManager: allow build-time disabling of components

Allow components to be specified as disabled at build time
(applied on boot).

This allows stock OTA components to be marked as disabled in
Slim builds.

Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f
Privacy Guard Slim version (1/2)

Re-implements slims ehanced privacy guard from 4.3
and addapt it to 4.4 changes

Change-Id: If57de2b541fa6b0a590fd65e8664bf173e259035
Merge branch 'lp5.0' of https://github.com/SlimRoms/frameworks_base into lp5.0-caf

Change-Id: I9ebdcbf994a84d961c3f2c7d3568ab0efb406d40
Reintroduce button-backlight (and respective inactivity timeout)

The power manager rewrite from Change I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
completely removed support for control of the button backlights, which makes
all capacitive buttons out there stay dark. The commit message in that change
mentions it hasn't been implemented _yet_, so this fix should be temporary
until upstream does their own implementation

[RC: Updated to 5.0]

Change-Id: I6094c446e0b8c23f57d30652a3cbd35dee5e821a
Camera: Don't throw exceptions when value pairs have spaces in them

"(1,2)" worked, "(1, 2)" crapped out. Fix it.

Change-Id: I71262909280f88d930898a2bcf37d379add4fdea
SettingsProvider: Update icon.

Change-Id: I9e1b540e0268643371dd95593eaefa63d4a1827d
Camera: Add support for QC camera features.

Added APIs and keys for all QC features. This
will enable application to get/set paramters.
(cherrypicked from commit d0c5a0ee7e9af41320fed00ff324c6d0f22eb697)

Change-Id: I68c23aaf7267645efeb4d4743b390a048292b7fd
Telephony: Set the value of min match according to one property

CTA requires to match 11 phone numbers, so use the value of the property
"persist.env.c.phone.matchnum" to set it 11 in case of CTA tests, but by
default it is 7 without change.

Change-Id: I8cd4105c06c71af1ad242858d8de474459d96ee1
Telephony: Check the length of phone numbers before use

If the phone number string is null or empty, just return
to avoid null exception.

CRs-Fixed: 399293

Change-Id: I78db37d70e38cd2782c13621f98dc25d8624bfb7
frameworks/base: media: add support for DIVX files

Change-Id: I6e922c5d6e17ee590606268af97b7894f35d19ae