Add global action for screen recording. [1/2]

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

Carbon PS2:
Fixup for merge conflict
Carbon PS3:
Derp, missed changes in strings/symbols
Carbon PS4:
Don't need to add immersive mode anything...

Change-Id: Ie6d4655b074992075df0060d23c758f2af06387e

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/cr_strings.xml
	core/res/res/values/pa_symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
ActivityManager: Fix monkey tests

Change I30e38c6c27d339d55a8f9a0f4106185356a9b9a0 (adding ordered
broadcast prioritization) adds the assumption that every broadcast
generator has a full-fledged caller app, which isn't true for
monkey-created tests. Make sure the caller is a full app before
checking if it is AID_SYSTEM to avoid an NPE

Fixes com.android.cts.monkey.*

Change-Id: Ide0dd046c6c5eb10ab4acb504237b58cbbbd8cfa
fb: fix on tablets notification drawer height on custom image background

The measurment bases always on the height of the complete view. Due that we set
an image as background (does not make a difference if we do it like now with an image
view or set the background resource for the complete view) the image is calculated into
the measured height as well which leads into the problem the the panel completly opens
to the bottom.

To prevent that measure only the real content and decide based of this value how much the
rubberbands should go into action. This will be only done on devices which set a minimum
height for the drawer which indicates that we need to measure the content more exactly.

Change-Id: I9772abc8a48d5e46b5bb6e6239c0b4826115ac6a

Patchset: 3
https://gerrit.slimroms.net/#/c/3096/
Merge remote-tracking branch 'base/kitkat-remix' into remix-legacy

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