Add PA Tile (1/2)
Expanded Desktop Tile : modification

add long press action: now single to toggle, long press to switch mode
add restartui function
Revert "Squashed commit of floating window improvements"

This reverts commit 7a365ff3ae888f22b0546fa6f872e584da98a373.

Conflicts:
	core/java/android/app/Activity.java
Framework: Custom Tiles (1/2)

PS1: Reinvent logic from initial
	implementation
PS3: Clean-up and unlock/collapse
	options.
PS4: Small fix.
PS5: Remove unlock option.
	Too complex for average usage.
PS6: Allow reset button to reset last
	drawable/label.
PS11: Fix "user deleted index while
	above index 0" which would
        display the old drawable
	until the tile was manually
	updated by user.  Small fix.
PSX: Create Dependency

Change-Id: Ifdfa60b8257290c07e1861903e26c5dea715d036

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/slim_strings.xml
Frameworks: Favorite Contact Tile (1/2)

Based Heavily on the work by:
	Dirk Rettschlag (MarcLandis)

Change logic to our tiles
	and implement key logic
	from my custom tile.

Change-Id: I3b963752a8757b64b9f7ffe58cc4c59064e4ff04

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/slim_strings.xml
QS: let's welcome LocationTile to 4.4

we already modified to use the basic 4.4 location mechanism. Still
it was very basic. Now using the same attempt like in Settings to
controll location mode (high accuracy, battery saving, device only) and on/off state

longpress switches between the states. Normal click turns it on/off
Compared to settings turning on will recover last state where it was turned off. As
well it respects the sharing location warning dialog either when you switch on into
a mode which use it or you switch into a mode which uses it and it was not confimed.

Slight corrections to original AOSP code to reflect the changes in LocationController
even though this code is non operational

PatchSet:
- moved the complete handling into the LocationController. Way better
  to have in centralized. Who knows for what we will use it later.
PatchSet:
- cleanup

PatchSet:
- added drawables from kroz :)

Change-Id: I3c7c51c8d7e3a8c003c37d1b55a6503a9bbeaf64
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/LocationTile.java
XmlUtils#readThisMapXml should handle null keys.

Both readThisValueXml & writeThisValueXml have been
implemented to handle values with "null" names.

Change readThisMapXml to allow such names as well, and
map them to the null key in the resulting HashMap.
readThisListXml and readThisSetXml already support
null names.

bug: https://code.google.com/p/android/issues/detail?id=63463

Change-Id: I1c93976656e45e7733113eb67d29b6bad5d25f1f
Prevent nullPointerException by updateBondedBluetoothDevices

In some very rare cases difficult to identify, it seems that the
IBluetooth.getBondedDevices() returns a Set with a null element.

This patch will prevent calling getBondState() if the device is null to
avoid a nullPointerException.

Change-Id: I9bcad60c37e03c77ec39227e5c947c002a3ae2c7
Orig-Change-Id: I8845f0e6b8fdcda679bc71e2b5c33fd4a52f3ac5
Signed-off-by: Patrick Combes <patrick.combes@intel.com>
Reviewed-on: http://android.intel.com:8080/116592
Reviewed-by: Bondier, CedricX <cedricx.bondier@intel.com>
Reviewed-by: Chen, HuaqiangX <huaqiangx.chen@intel.com>
Reviewed-by: Yao, Yong <yong.yao@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Tested-by: Lestienne, ChristopheX <christophex.lestienne@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 90085
NPE in SearchManager.triggerSearch

mAssociatedPackage field is never initialized and cause NPE.

Change-Id: Ibf0d44b2170b7cbfe4a883008254a086e03579c5
trds: consistent glow for menu dropdown and popup

Change-Id: I248872cbd67471495f8b95036d995f25e2ca4459
SystemUI: Add LongClick SwitchButton (1/2)

User TJKV had the idea to set notification
	button to the notification station.
	Nothing else fits in my mind...so
	that's what I'll use there.

Change-Id: I2087de5c5ff2387d51b4c7685fc7aa3c0d26d72e
Settings: Long = tile settings.
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
SystemUI: Sleep Screen Shortcut

PS2: typo

Change-Id: I3ee9611db49b7d8cd84508ab4959fbcb9ce6d59f
Port back Edge Gesture Navigation from aokpmr1.1
PNG optimization
Update icons for volume panel
UsbDebuggingManager: Fix multiple NPEs toggling USB debugging

Change-Id: I7ac039fe51a32d35ef00eaa71accb85cd57d4d8a
Signed-off-by: atl4ntis <atl4ntis@gmail.com>
TrashScreenshot >> DeleteScreenshot. Same feature, but with cm translationsez

Change-Id: I41efd19bee008987f793e232cda55f8ba126c7a8
Don't rely on gcc extensions

Variable-length arrays of non-POD data types are a gcc extension
not currently supported by clang.

Change-Id: I9cd1aed742ac70e642771ff455582727fbafaec2
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Remove the navigation camera icon in keyguard if disabled by DPM

The logic here is incorrect: the camera shortcut is/should be accessible
even with a secure lock screen. As a result, a device with the lock
screen camera disabled by DPM and an insecure lock screen would still
display the unfunctional shortcut.

Change-Id: If1d172932c6c2af596c38e623521c992fdf95402
screenshot: quick delete action

Add option to delete screenshot from notification

Change-Id: I0f153bc3c72b902163b4ae75e220ddb09e3fcb11