Align the status bar date to the bottom

As in AOSP. Also occupy the whole height area so that the date can be
easily clicked.

Change-Id: I66e5b7a754f27571f987657cc7ccd2ef3bef3f9e

Conflicts:
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
Frameworks: adjust QS layout, clean up an optimizing

this commit does the following

- adjust our custom tiles layout to the new aosp 4.3 layout
- big clean up
- move dimension values into dimens
- now complete consistent custom shorcut and user tile
- simplify code
- cleanup code style tarak ;)

cheers

kufi

Change-Id: Ie5a521efbf9af7271b8aa03a84887330a6d554c3
core: fix cpu variant board flag

Change-Id: I6f412d36162e50012a1d2562ab05a331f248582c
BroadcastReceiver : Get sender of broadcasts

Add internal api for receiving the sender of a broadcast

Change-Id: I28ae614ef92101ab6b9beadc3c965d16b1f393f6
Prefer artist over album artist.

E.g. when playing a compilation title, one very likely wants to see the real
artist instead of 'Various artists'.

Change-Id: Ie200f2f8b0b90d3470c2e2e4ca6f91f9b117fb1f
Allow adjusting progress on touch events.

Change-Id: Ide0a7ae057a62f3631a32eeaa63f3e04dec5bf54
Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9

Conflicts:
	packages/SystemUI/res/values/donottranslate.xml
New profiles icon

- add QS icon
- modify slightly size for global menu
- correct recovery reboot qs icon color

Change-Id: Ie99547aae5f906a3aab20dca727d6a5c90780e52
Remove HAVE_SELINUX guards

Android 4.3, and by extension CM 10.2, default to having SELinux on

Change-Id: I0f83c0b9712388216b89dfbe6184ad0a220a74d6
Re-add auto brightness configuration UI (1/2)

- Add a button into the new brightness dialog that allows opening the
  auto brightness setup
- Enable auto-brightness adjustment (setting for general brighter/darker
  adjustment) and twilight adjustment

Change-Id: I7fd11ddaa112396dcb7508692aacb93bfe3da256
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/quicksettings/BrightnessTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Remove obsolete installd

installd is now in frameworks/native

Change-Id: I308b2dbfcc3103262b16d1680630ca744c1a0877
Clean up lockscreen target configuration code (1/2)

Get rid of a lot of duplicated code.

Change-Id: I80fb0b0cd9b5f7d79a5760f8fa6ae338d9ca7205
Bluetooth: Disable bluetooth only if BT Sevice is connected

Bluetooth service is imidiately disconnected from the adapter
after SSR OR if any bluetooth services is crashed OR framework
is crashed. As Bluetooth  service is not connected OR Bluetooth
is not enabled, So BT disable should be ignored & bluetooth
persist setting should not be changed.

CRs-Fixed: 499116

Change-Id: I19de939346d014cdf918e11711f2d6066e55d054
platform: Remove mapping of android.permission.CAMERA to camera group

This mapping introduces security risk where any app with android.
permission.CAMERA can open camera driver directly without going
through mediaserver.

CRs-Fixed: 448868
Change-Id: Ic16880cfac0bc85a3e753ccd3261bfc455b02d1a
Several icon corrections

- qs media play and pause....use own to let them theme and have correct default cccccc color
- power tile change to default color
- widgets navring target corrected to better size

Change-Id: Ia852f8f6369e936983ef22c310ff814072b5d474