SystemUI: do not collapse panels if keyevent was canceled.

Change-Id: I9af82e9fa2305142521075938dfd05521adeb9f4
Fix up 'launch player on headset connection' option.

- don't crash system_server if no music player can be found
- use the active user's setting instead of the owner's setting

Change-Id: I38a07fe5c8c3d67ececd0768e1fcc01a6cf7fa5a
Fix Quick Settings tiles jerking down while animating to notifications view

Change-Id: Ic601d8808855dee667aea3bf368256fbadf9385d
Fix status bar brightness control when on secure lock screen

When the notifications panel is disabled no views are handling touch events
on the status bar, so we see nothing beyond each ACTION_DOWN. Intercept touch
events when needed specifically for brightness control.
Also recycle VelocityTracker when we're not using it, as per its documentation.

Change-Id: Ib96eb6a6fd16d086d318136155e16da10600c8fa
SystemUI/Added ADB over network QuickSettings Tile

Change-Id: I340846a171571a7b61d2c68f2a6875794be5d5b2
frameworks/base: FI translations

Change-Id: I86f3c0c440adec87d296dc2d9ffecc5a40e0a4fe
Freeze screen while changing expanded desktop mode.

Also animate from old to new state.

Change-Id: I2db8ec4d55f7b8b5e592cc1ef21b86ebdbd00eb0
PhoneWindowManager: Delay setting updates during window animation.

Change-Id: I90ee5d8f83176a38a32b5ff38c4b191f1b78532e
Statusbar: TabletUI: Hack to show statusbar icons while Halo is active

When halo is active the ticker window is created as before halo implementation, to avoid to show it we don't stop the methods but set the transition/delay to 0.
That's a kind of hack (awful) but works :)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletTicker.java

Change-Id: I909e8112ca6e31450201b75bc08546d2b585f8f5
Statusbar: TabletUI: Low the ticker delay to 3.5s that is enough (PhoneUI one is 3s, but TabletUI one is clickable and deserve a little bit more). Making right-navbar unaccessible for 5 sec is too much.

Change-Id: I9004b1e5be7612846390eaccf0f44fcac047a48b
Keep ToggleLockscreenTiles in sync between Quick Settings and Ribbon

Update the appearance of both tiles when one is toggled.
Only the KeyguardLock which disabled the lockscreen is able to
re-enable it, so have both tiles use a static KeyguardLock.

Change-Id: Idd8d41d3eda60f9a13bd4b6bc0fab12eb3d25f40
Merge branch 'AOSP/jb-mr2.0.0-release'

Change-Id: Ia16a1d1c4f5fb0c428449acbb6a633dfbc8d0f68
Fix Weathericon Size

Change-Id: If0bf90cf1da87adfe5a5bf4a23d8453ba95bbe18
Fix expanded desktop layout in landscape

Change-Id: If8793072177d8de871f92e8ee830d467227a95ea
Fix dock intent lookup.

PackageManagerService doesn't support UserHandle.USER_CURRENT passed in,
so always pass in the real user ID.

Change-Id: Ic05f04dddb4758ac68bdb4d84e37dce8344951ed
add external dock battery support

Change-Id: Ieaccc2c05488b5a500834acd89a7ea294ba55a7c
Revert "Ported: Bluetooth Message Access Profile (MAP) from CM9"

This reverts commit 0e5fdcffdd1c3f1292a7cfa04660c966f70c883a.

MAP: Support MAP Server role on Bluedroid with javax.OBEX lib.

Handle No END OF BODY for MAP 1.0 Server Get request. Only the
last packet need send the 0x49(End of Body). For intermediate
packets, we need to send 0x48 (Body).

Move definitions for MAP or FTP Service Specific UUID and
Request type for CONNECTION_ACCESS_REQUEST intent to
BluetoothExt APK.

Change-Id: I04cfeb8d53b8f8c19160a2de1eb448a7ec1f2c41
CRs-fixed: 504042
Fix for Concurrency issue reported in  525529

List of services mainted by ActivityManager may get
updated/iterated concurrently if serviceTimeout() is
scheduled simultaneously with launch/stop of new services
for the same package.To fix the issue ,iteration of
proc.executingServices set in serviceTimeout() is synchronized
with same lock used by updating the set during
start/launch of service.

CRs-fixed: 525529

Change-Id: Ic230ad0d16e6ec64a20cf394aa1c1ce777c37a2b
services: Fix the bug in NFC shutdown logic

nfcOff should be checked for NFC shutdown instead of radioOff,
which is used for radio status.

Change-Id: Iafd620dc89ae8bed7855e313676527d4de32cb7c
base: App crash when select suggestion's length more than specified.

App crashed by catch IndexOutOfBoundsException which raised
by check span range when select suggested string.The root
cause is that the editor will truncate the suggested string
which length is more than it specified, but it also set span
use the suggestion's original length.

Update the suggestion's real length after editor replace the
original string to suggested.

Change-Id: I2d765701934a9e68be172cb87a104590f3cdeceb
CRs-Fixed: 532211