Revert "[WIP] Multi-window"

This reverts commit 28faa94886ce9f5c2a81f365b1fbacf5ebcba386.
[2/2] Frameworks: HALO

Forward port from jb.
PS1: Initial port
     Fix conficts with notification LED
     Fix derp
     Major derp
     HALO Mods
     Rebase
     Fix blackist, code clean and added some TODOs
PS2: Fix build
PS3: Fix bubble sometimes doesn't respond on new notification
PS4: Align halo icon

Change-Id: I3e79945433d61da090ca263f4e2989be9987f11d
Fit HALO in CyanogenMod custom battery implementation

Change-Id: I61892219a4bdeba7ada932d1247b3bcefef5ff57
Forward port CM Screen Security settings (1/2)

* Lockscreen Vibrate
* Slide Lock Delay
* Menu Unlock
* Home Unlock
* Variable size pattern lockscreen
* Toggle dots/error pattern visibility

Forward port from cm-10.2, adjusted for 4.4

Change-Id: Ie1ccaec43ca75474e92f96c60e15d7b75796ac5f
AudioEffect: Add a stereo widener effect

Change-Id: Ief554d1789e9dc9dcd93cee2a465e46cd33a4f26
add halo master switch

Change-Id: Ifeb9b4e3ae6ada7d3a4acc9b790cc6508050839d
[1/3] fb: Change density on the fly

Change-Id: I7ee16d32ee882fea22367f49f69f4da744f3aa45

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
        policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Restore options to disable bootanimation and wallpaper

Change-Id: I1d21c0ac8ef507fec7a251a488461e1e697b4d96
Correctly set the animation flag of the ActionBar

Showing/hiding the ActionBar is intentionally done without any animation
when done while the Activity is not visible (between onPostResume and
onStop). The issue is the animation flag was not set at all when the
ActionBar was initialized (i.e. getActionBar() called) between these two
lifecycle methods (because mActionBar was null).

A temporary solution is to call getActionBar() to initialize the
ActionBar in onCreate().

This patch simply keeps a flag of the current animation state and
update it whenever the ActionBar and/or the flag has been modified.

Change-Id: Ia28c62410691e95b823d907de0279edaf0592f21
ActivityManager: Donot take launcher screenshot.

Currently ActivityManger takes screenshot for all activities
on an activity switch, for maintaining the screenshots in recent
app list. This can be skipped for launcher, as launcher is not
present in the recent app list.

Change-Id: I22f7cda2c63483ab50e0df4428151503892b7d9b
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	services/java/com/android/server/am/ActivityStack.java
MultiWindow

Change-Id: Ie5860c2105ad9c971157b41d65f8fab337461ef6
support chinese language from moKee

Change-Id: I0b4ef03bf218fa3e996bc2517a6b55b99be75682
[Revert] Change density on the fly

Change-Id: Ic2c81a4f8fbdb6bc775faa25d24d8bc3a7d85d2f

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
audio: Set slient persist property according to ringer mode

Update the persist.sys.silent property when setting ringer mode.
This property could be used by the native layer application.
Example:
Bootanimation could check this property to decide whether
background music is needed.

Change-Id: I64311fcac9d4c3729b38fc2b597dc478d6de4d7c
NetworkPolicy: Validate policy templates before updating

Ensure all the policies to be added are validated, otherwise
this service will throw IllegalArgumentException and cause
system crash when updating network template after receiving
ACTION_NETWORK_STATS_UPDATED.

Change-Id: I3faef0ac2a2fcea64ba5dde9c9256f6714280e2e
CRs-Fixed: 561490
prevent multiwindow if halo enabled
please multiwindow stay out if HALO there !! , but we will leave you in activity

Change-Id: Ie9ca36b6c7647ff9c6f038986b107f3623d8726c

Conflicts:

	core/java/android/inputmethodservice/InputMethodService.java
BluetoothManagerService: fix enabling/disabling BT from Quictsettings under second user,

Change-Id: I8173559b2c734968ef4a8d86fddaa3a73d5c2b1e
Frameworks: Update DE translation

Change-Id: Ie3affdef685844aa7132de03fc3b94f8318b7eda
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
Core & SystemUI: RU translation

Translations imported from CM10.2 and revised.
Also includes plurals' fix, for a greater justice.

Change-Id: I3d3e52b1bd76b0bb467e6e15b38b5940f6eb6a09

Conflicts:

	core/res/res/values-ru/cm_strings.xml
	packages/SystemUI/res/values-ru/cm_strings.xml