Port clear all recents button from CyanogenMod
"Clear all" button on recent apps

    Ported from ParanoidAndroid by zigackly:
    https://github.com/ParanoidAndroid/android_frameworks_base/commit/f8c44e6ef667a3ebe9b658f148fa78a8d4f9a8dd

    Add button to tablet layout ported from Codename Android by zigackly:
    https://github.com/CNA/android_frameworks_base/commit/8d259fe3588c261baa5a17c361255cf28cc82bfe

    Patch set 2: Make the layout consistent, with the button at the top right.

    Patch set 3: Remove the redundant use of removeTask()

    Patch set 4: Top right layout does not work in tablet mode: make it top left for tablets only.

    Patch set 5: Different implementation (No need to keep track of views) - Danesh M

    Patch set 6: Top left layout no longer works for tablet mode with new implementation.
                 Make it bottom left for tablets only.

Change-Id: Iceb86eef41160f1c17e51463b37fd97e27acfb2e

Conflicts:
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: I5f3827299866a951e657ce64bea7c5f31c34ef9e

Conflicts:
	packages/SystemUI/res/layout/system_bar_recent_panel.xml

Recents : Fix clear all layout

Fixes the clear button from getting cut off due to the added
fitsSystemWindows in aosp

Change-Id: Id43a3d0640f66c1d7c587cb272bc3a6ad520628b

Move recents clear all button to the bottom left
Easier to reach with most devices.

Fix call to removeAllViewsInLayout()
This must have changed in Android 4.4.
Merge remote-tracking branch 'aosp/kitkat-release' into kk
Port Reboot menu from CyanogenMod
Framework: Forward port Power menu reboot by DvTonder

This is a stripped down version of his power menu config patch

Change-Id: I5cc9f900bdb2bb1f0a11014a09f8c792cac850e7

Include missing strings and arrays for the reboot menu

Framework: Add Advanced reboot (2 of 2) By DvTonder

This commit responds to a setting in Development settings for including
options in the power menu for rebooting into recovery or bootloader. It
is defauled to off.

When enabled, the Advanced reboot options will only be available once the
device is unlocked.

Change-Id: I675f31de1f82c344c7923e953fd4a6e26dd036da

Enable Advanced Reboot by default