prevent multiwindow if halo enabled
please multiwindow stay out if HALO there !! , but we will leave you in activity

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

Conflicts:

	core/java/android/inputmethodservice/InputMethodService.java

Conflicts:
	core/java/android/inputmethodservice/InputMethodService.java

Conflicts:
	core/java/android/inputmethodservice/InputMethodService.java
	services/java/com/android/server/am/ActivityManagerService.java
Add native java screen recorder [1/2]

This is based on the screenrecorder binary found in frameworks/av.
It has been converted to a native library with the necessary jni
hooks for interfacing withit via a ScreenRecorder java class.

Volume up + power chord is used to start and stop recording by
binding to the service found in the ScreenRecorder app:
https://github.com/ChameleonOS/android_packages_apps_ScreenRecorder

PS1:
Clean up white space.

PS2:
Fix naming convention for state field.

PS3:
Rebase

PS4:
Post mScreenRecordTimeout with 1000 millisecond delay instead
of 10000.

PS5:
Send record screen broadcast instead of using the service
directly.

PS6:
SCREEN_RECORDER_FRAMERATE should be SCREEN_RECORDER_BITRATE

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Conflicts:
	core/res/res/values/vendor_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Add native java screen recorder [1/2]

This is based on the screenrecorder binary found in frameworks/av.
It has been converted to a native library with the necessary jni
hooks for interfacing withit via a ScreenRecorder java class.

Volume up + power chord is used to start and stop recording by
binding to the service found in the ScreenRecorder app:
https://github.com/ChameleonOS/android_packages_apps_ScreenRecorder

PS1:
Clean up white space.

PS2:
Fix naming convention for state field.

PS3:
Rebase

PS4:
Post mScreenRecordTimeout with 1000 millisecond delay instead
of 10000.

PS5:
Send record screen broadcast instead of using the service
directly.

PS6:
SCREEN_RECORDER_FRAMERATE should be SCREEN_RECORDER_BITRATE

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Add native ScreenRecord

Change-Id: I07146cb7a4a644b903e921b11a15b9bd6d278f39
Merge branch 'ck44' of https://github.com/CandyShop/candykat_frameworks_base into ck44

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I35f5551d3668f55d5ee28f0edc59232046ac9414