Wifi: Enable Ad-Hoc (IBSS) network configuration

This adds two public but hidden variables to WifiConfiguration: isIBSS and
frequency. These are used for configuring IBSS mode.

WifiConfigStore is exended to get and set these variables to wpa_supplicant
(via WifiNative).

Change-Id: Iab02c3d738c05c2de036350ea77b78789213e357
frameworks/base: Add dock keyboard support for Asus Transformer tablets. 

Based on patches by jruesga from CyanogenMod sources. This commits adds
support for the Asus Transformer dock special keys. For this commit to 
work, kernel and device tree commits are needed to implement the device 
specific handling

Removed duplicate device specific key handler function code.

Change-Id: Ie6d3a22c549ddc15056c5e99d16b194f799f75d1
Support NoGapps style package signature faking

Unfortunately due to GMSCore libraries for clients carrying out signature checks on the GMS app,
users are not able to use open source equivalents, and are being strong-armed (by apps) into using
non-free libraries for these functions. NoGapps is an open source implementation of these libraries.

Unfortunately, a patch like this is necessary in order to permit apps to be convinced they are talking
to the closed-source GMSCore. As this "DRM" is implemented at app-level, it's possible to do this,
without the Android OS itself being "fooled" by the faked signatures.

This commit is from the NoGapps project, I am just submitting it on their behalf.
Originates from https://github.com/microg/android_packages_apps_GmsCore

Change-Id: Ic8aaa0728a43936cd4c62382734342ba8f0fbf5b
DocumentsUI: catch berserk apps on building recents

We should not crash Documents app because of that

Change-Id: Ie89a10c5005aef7f3e75a4f5a17f018e0fbc0814
Merge "Support NoGapps style package signature faking" into android-4.4
Base: Fix jumping BatteryCircleMeter

Change-Id: I2f06886e780616f6eb627b5117bf8fa953091a4f
fix OmniTorch start from QS after firstboot/reboot

make this call FOREGROUND only so OmniTorch will start after system ready

Change-Id: I65d8f2adcd302e9a2b755178dc8c9c71018a359d
Merge remote-tracking branch 'upstream/android-4.4' into android-4.4

Sync with omnirom