Revert "Fix PhoneWindowManager animationFinished callback."

This reverts commit be1e252c47976944b839f2bff302480b55749d9a.
Revert "PhoneWindowManager: Delay setting updates during window animation."

This reverts commit 4c4a6cd7aee689a35e091ced74e7c3b9d42919f9.
Port "Bind VolUp+VolDown to toggle the ringer"

Squash of http://review.cyanogenmod.org/#/c/20256/ and
http://review.cyanogenmod.org/#/c/22716/

Change-Id: Ied3767969482a7ea44f7f0e9222a2f78fe8f507c

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Remote display framework support.

Any app can use the remote display APIs to mirror to another device...
This can be used to implement AirPlay, Chromecast, or even screen recording.

Change-Id: I6f45b393afb2f9d438d4aa548e8149946741c928
Fix checkapi

Change-Id: I231b2dbdb0ab2c59bf8f0ba96e9f0da1303b8c7e
Fix various c++11 narrowing violations

Summary:
The best fix for these narrowing
violations is to use static casting

Test Plan: verified

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D641
core: fix arithmetic on a pointer to void

Summary:
Use char* instead of void* for this
pointer arithmetic. Fixes the following:

error: arithmetic on a pointer to void
buf = buf + offset;
      ~~~ ^

Test Plan: verify

Reviewers: randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D594
Hopefully fix media scanner issues

Please see http://forum.xda-developers.com/showpost.php?p=44370296&postcount=357
For inspiration

Change-Id: I71573992c565e9f32b2256f8ef017cc8ac49b285
FLAG_ACTIVITY_NEW_TASK re-added to floating windows

ActivityStack modified to not cancel results if window is floating and "new".

Change-Id: I45f3dcc816092daa4192be91828592a0b2b2ac59
PA PIE : Support SPN or Custom Carrier Label
Notification Shade: add boost hints to onTouchEvent override

PS2: rebase/fix merge conflicts

-VanirAOSP

Change-Id: I5ab5d5a5cc351da5ea3e1dda0d1aba77913a6dd7

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
Halo: selectively add boost hints

boost only at the start of moving the halo for both reversed and regular
interactions.  Also boost for launching tasks.

-VanirAOSP

Change-Id: I910fa0b13205f80c84894f252ed3668f887d4fed

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
Revert "[WIP] Multi-window"

This reverts commit 7cbfe1ec8d2f4ba923ae29638ca05d6e479ce17e.