base: DocumentUI: fix a few issues handling remote content

http://jira.omnirom.org/browse/OMNI-956
http://jira.omnirom.org/browse/OMNI-950

Change-Id: I8d50d71a9c91486dfc9e5da01538c6b5a626f054
SystemUI: add missing status bar image

Change-Id: Icaf4d179b538818f5782637d403de212d0e0a841
Media: Add quality levels for two 4k resolutions for camcorder

Add quality levels for two 4k resoltuions for camcorder
(cherrypicked from commit 96cade18e068306a3d04ec943b4c61e2817ea54b )

Change-Id: I1c9e9d0bafd566071e98d335ca6f2de6eb96a71d
(cherry picked from commit d3ff34920391435de1cda07f1674ac4047b4967e)
(cherry picked from commit 152f78ae3f314a6efb02a4602bce4fba65569c48)
Telephony: Add support for NETWORK_TYPE_GSM

Add support for NETWORK_TYPE_GSM in TelephonyManager and
corresponding mapping in ServicState.java so that when
application queries getVoiceNetworkType() and currently
camped rat is GSM, they get network mode as GSM instead
of network mode unknown.

Change-Id: I5e971c625532696776b9555ad8cfd85eba4fc423
CRs-Fixed: 526435
(cherry picked from commit 3e01fcec13725955f0ca3fb20730ff21f4edc128)
(cherry picked from commit c70f5687965908cd585e52901cf6cd88bd405140)
(cherry picked from commit 8e3c2300729ecb3cd3e6b640b0174f49e2189f0c)
frameworks/base: forward port DC-HSPAP support from cm-10

Change-Id: I1503c464b2db841fc193e57311e62415f5ff40f2
Screenrecord: Fix SystemUI loop-crash

Change-Id: I25045820465d21b7d1f0e933e5e4f3324cb044b6
Fix frontOfTask assignment.

If all activities of a given stack were finishing, no activity was
marked as front-of-task. This confused ActivityManager, so make sure
there's always exactly one activity marked as front-of-task.

https://android-review.googlesource.com/#/c/98918

Change-Id: I087cbe10280d4a60aa5ccfaefe24a223523fb3f2
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
Base: QuickSettings: fix text size on landscape

Change-Id: I043ee71aa8b4e74fd8038fca7613e22b73c81ff5
Base: Allow unregister Callback and Controller

Battery, Bluetooth, Network, Location controller
always set callback without release them if callback owner is missing

add this method to unregister the callback to prevent memory leak

fix whitespace

Change-Id: I0d6451ddfb681bd5301e7958e20d2462d4a82039
Merge "Fix frontOfTask assignment." into android-4.4
base: added charging animation for battery percent style

Inspired from circle style

http://jira.omnirom.org/browse/OMNI-840

PS3:
-using bar style

PS8:
-again full height band

Change-Id: I5a83cd7ea6fa437a9bdf0e9b4451071a591cd3b5
DocumentsUI: fix recursive delete

Create one DirectoryLoader in UI thread to use for delete

Change-Id: I83a5811f152090f7812ad58ff4ee3bc13748d158
Externalize symbol picker options to resources

Having the symbol picker options in resources allows a change to be made for
a specific device, and even for a specific locale (change in overlay).

Ported from cm10.2: http://review.cyanogenmod.org/32581

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I72ff6fab6b9c14f9761904fdcc6918784d790d4d
Base: QuickSettings: Use DeviceUtils to determine NFC support

PS 2: fix whitie

Change-Id: I94aa467ea9a025abdaa519a05da44c803bfac9d1