Squashed: Remove Hover [1/2]

Revert shitload. Headsup here we come.
Squashed: Remove PEEK [1/2]

Dont worky, buggyy, AD is better :D
Squashed: Heads Up [1/2]

All credit goes to CyanogenMod and Adnan Begovic (@Decad3nce) for exposing it all

Some commits from Clark Scheff (@0xD34D), Jacob Müller (@jackmu95) and Kyrylo Mikos (@mik9)

This commit adds:
	- Exposes Heads Up
	- Blacklist
	- QS Tile
	- Various fixes for Heads Up

commit a9c17a5e9b86c18e837d4409c948ab7cb0ccd9eb
commit 64c59e5f8ac06e041357538a8b06db4c06163234
commit a8f45e2b0561bffb2d8b50ac895f1f913addb3f9
commit ff1dc08340b9cd6e01d24dbadbefaaa5872072fb
commit 3bef73200acac60d2f9977c34000f7797c26fa62
commit b621a3eedc6a9c18699d4e2f9998ea73dcb0c2c3
commit 3c77949210aac2e5056dd3eb274292570bd59b42
commit 8e38f7c538c5edb4d64362aa926a538ce4a77f99
commit d718febddd607871869c4d32259ed220a1551e83
commit 279a30633aa88bacd385864459c04fe01eadeffb
commit b8d29dbba9f295e28de90928386367cb23bc6e2c
commit 800a451f896028987e2ebeab725607838d690184
Launch Heads Up in floating window [1/2]

Change-Id: I530c3d9473e8b0600db047ce2137ee3d44592111

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/arrays.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HeadsUp: Configurable timeout [1/2]

Credit/Thanks to lion0738 and Decad3nce
Squashed: Active Display [1/2]

All credits goes to Clark Scheff (@0xD34D) for creating Active Display
Various fixes comes from Alex-Cruz (@Mazda--) and others
Thanks!

commit 5e330be27f944b5ca1e3b41094a0629c669944b2
commit b2546257175e044efaee103abd4e183427f19084
commit d12cca51d76ec017f8a12e465160ee1b50c041e2
commit f80ff6c287b2d93a29829eb990602a458e7275e4
commit 37094e50e5588044b4932dfad080adb54166b282
commit ece2793a9be6b1d5dd5b1616400ad3d0997de490
commit 7d923790f0ecad3b30ecf01342f980059d78ad79
commit e458e6683d41dcb0b57478db7a72ef1a350a55e2
commit 359e9d2f8e0f54f18e2571ebf1d581bf5f0633b1
commit 58f737accaee770bc28e7a11d736bef5ebdd0bc7
commit dce12efdaae5e8fbf32b4a4158f299a028d38efc
commit 7b19a7c26787cf80e9c73cf92b03e2658caecbc9
Completely integrate HFM into Settings [4/4]
* Checks if hosts file is correct after completing boot (useful after updating ROM)
* One less package

Change-Id: I103ed99a911cbeb503bb090087a3fee274784b6e

Conflicts:

	core/java/android/provider/Settings.java
HeadsUp: Fix dismiss on back key press.

Change-Id: Ia213aeba114d153f5561622a2bea884963f3d8a1
SystemUI: improve one finger notification expansion

Fixes JIRA bug BACON-70.

Sometimes the quick settings ribbon would eat the initial ACTION_DOWN
setting mInitialTouchY in the expand helper, but we are clearly not in a
notification that we can expand here. So only set the initial y point if
we are inside the notification scrollview.

Change-Id: I628553ac15cc6b4ee3c682fe46bd1d96c6bc154d
Signed-off-by: Roman Birg <roman@cyngn.com>
Possible fix: Battery tile coloring issues

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>
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)
Telephony: Add TD-SCDMA network modes

1)TD-SCDMA Signal Strength support.
2)Add TD-SCDMA network type support in MobileDataStateTracker class
to identify TD-SCDMA as UMTS variant and use the relevant
kernel data stack tcp buffer sizes defined.
3) Add TD-SCDMA to the list of supported network modes.

Change-Id: I158821574484bfaf47d1660406e591e2afb3be5e
CRs-Fixed: 403258, 479310
(cherry picked from commit 2ba1b7292c6b458fb72587c1f29a5c00b70717cd)
(cherry picked from commit d58b065e7e3d84461a3c981e7a7d4673f3567ef5)
(cherry picked from commit 7844d69d3d323b3969766309c2ad5bc80411fbae)
SignalStrength: Hotfix TD-SCDMA

These checks need to be reviewed, they're making unwarranted assumptions
about signal value formats and possible tech combos.
This appears to work for all possible scenarios I was able to test,
but the "LTE checks" shouln't be necessary at all.

Change-Id: I889e17e79ca2b1b5fcaa393741e19bef9d3f4229
SignalStrength: Hotfix TD-SCDMA take 2

The previous approach worked for 3G, but failed with TD-LTE. Let's
try something different to make them both work, and use the derpy
LTE checks only if a GSM signal is present.

Change-Id: I77e3b5a1e0f99df30c32b102918af418a20077c1
SystemUI: fix double tap to sleep not working with secure lock screen

Double tap to sleep on status bar would only work on secure lockscreens if the
slider brightness control was enabled.

Change-Id: I7c4dc5b2f559aafae819422d747f92ac59631ffd
Signed-off-by: Roman Birg <roman@cyngn.com>
[1/2] Remove QS Styling options

Signed-off-by: Chintan Shah <cgintan1998@gmail.com>
MountService: Check for null pointer when looking for vold code

* There is actually no code path that will set an event into
  NativeDaemonConnectorException, so any reference to the event code
  will result in a null pointer exception, taking down MountService and
  the rest of the system with it.

Change-Id: Id62f724953aacc363b3455584c6a3ad1381c6138
frameworks/base: forward port DC-HSPAP support from cm-10

PS10: add new drawables, I need to add new QS drawables and also RTL support
PS11: fix blank space and prevents checkapi to fail
PS13: fixed tile icon and rebase

Change-Id: I1503c464b2db841fc193e57311e62415f5ff40f2

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml
	telephony/java/android/telephony/TelephonyManager.java
Fix crash in widget pager - DO NOT MERGE

Fixes bug 14299491

Change-Id: I3c94cbd7f7923dc5a429c9929bc432a5dd29d04f
aapt: we dont care about uncommented public symbols

export SHOW_UNCOMMENTED_SYMBOL_WARNING to show them

Change-Id: I6e6461b54e5cd3a9c09efeb8df3172e48bbfa8e5