Avoid layout passes when updating data activity indicators.

ImageView can optimize out layout passes if old and new drawable have
equal sizes. Take advantage of that by displaying a transparent drawable
with the same size as the in/out drawables when there's no activity
instead of clearing out the drawable in that case.

Needs https://gerrit.slimroms.net/3678

Change-Id: Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01
Revert "HALO: fix scaling"

This reverts commit 8c182ed315d43b6f7e6e45bca809f96397a08b88.
Revert "HALO notification should open in floating window mode"

This reverts commit 13bac695f5fb1be0d38ae315254fc576be5b8293.

Conflicts:
	packages/SystemUI/res/menu/recent_popup_menu_split.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Revert "HALO: make windows moveable and scaleable [WIP]"

This reverts commit 309b9f992b3470b0379d40be4b21fd188a547c17.
Revert "[2/2] Frameworks: HALO"

This reverts commit 82a3085c1588c0b907ac301fe2a8568323993b46.

Conflicts:
	core/java/android/content/Intent.java
	core/java/android/provider/Settings.java
	core/res/res/values/liquid_symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values/liquid_dimens.xml
	packages/SystemUI/res/values/liquid_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/am/ActivityStack.java
Remove left over HALO header button
Missing activity HALO revert imports
Remove HALO switches from multi window support
Fixed retrieving non-initialized wallpaper information

When an attempt is made to retrieve wallpaper information such
as getWidthHint during user switching, the wallpaper may be
uninitialized and therefore throw NullPointerException.

Resolved by initializing wallpaper for current active user
if not yet initialized or returning null if applicable.

Change-Id: I1d3931379cbf4ea82cd25bc813898bbe4fb65a67
Release locked buffer when it fails to acquire graphics buffer

The JNI buffer in ImageReader_imageSetup is not released when
it fails to acquire graphics buffer. After all JNI buffers are
exhausted, ACQUIRE_MAX_IMAGES will be returned and leads to
error. The JNI buffer should be released when it fails to acquire
graphics buffer.

Change-Id: I3319a58ac44e36c8593b404672a685c4b589a735
Sensor: Enable the motion accelerometer for screen orientation change

The screen orientation can be detected by the motion accelerometer
instead of generic accelerometer to save power.

Change-Id: Iaeb3e5958d2ef7cc33080d7091ed8a5462695c67

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml

Conflicts:
	core/res/res/values/pa_config.xml
	core/res/res/values/pa_symbols.xml
A background started service is removed from mStartingBackground when timeout.
Fix is to make sure mStartingBackground is updated to remove one.

Change-Id: I0e42beb550d33e6e400349b85bbb89848e18d520
Statusbar clock font style (1/2)

PS1: Initial
PS2: Int settings

Change-Id: Iafb811b9f819a100940fdeeaa2c657483c039950

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Conflicts:
	core/java/android/provider/Settings.java
Clock Font: Adding more styles

Change-Id: I7ff863fba0c33409f6cad28df5bf3003db2aae0f
Update lock screen and sysbar pie images
Add missing disable flags override
Frameworks: Notification Reminders (1/2)

Click notification header to set a reminder
Long-click to dismiss current

Change-Id: I68d6eab8893419e8ec192d45f1e6b42ddff3e62b

Conflicts:
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/liquid_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
core: Fix too long ON/OFF strings

Use Unicode chars '❙' for ON and '〇' for OFF

Change-Id: I563f1ea331a07dcaeedce28688c2121de0716185

Conflicts:
	core/res/res/values-pt-rPT/strings.xml
Fix, MountService now only sends one onShutDownComplete

The event onShutDownComplete are sent only when all
volumes are shutdown. (Not one for every volume.)

Change-Id: I6af521ee8285ca581efac7d3c5f013dfbff3ee30
Finish fixing Zygote descriptor leakage problem

In order to prevent Zygote descriptors from leaking into the child
environment, they should be closed by the forked-off child process
before the child switches to the application UID.  These changes close
the descriptors via dup2(), substituting a descriptor open to
/dev/null in their place; this allows the Zygote Java code to close
the FileDescriptor objects cleanly.

This is a multi-project change: dalvik, art, libcore, frameworks/base,
and external/sepolicy are affected.  The CLs need to be approved
together, lest the build break or the software fail to boot.

Round 2: indent change

Bug: 12114500
Change-Id: I090402136a8a8b7d6aad6eb153026e85d7cf6ad3