Move On-The-Spot reset dialog into main dialog

This commit https://gerrit.paranoidandroid.co/#/c/4662 just combined with removing first version of the reset dialog

Change-Id: I061e62bb88ee94bd68e6255cb39e22aa2abdc9d4
Merge "Signal strength: add more checks to signal strength," into kitkat3
Merge "Telephony: Add TD-SCDMA network modes" into kitkat3
Merge "Telephony: Ignore the timingAdvance field in SignalStrength" into kitkat3
Signal strength: add more checks to signal strength,

so it doesn't fall under the range of poor signal and automatically
assumes a gsm signal, actually checks if all values are true and not
valid then pass it on to lte or gsm. This fixes cases when gsm signal
is not valid and lte is active. When lte is active and shows a really
weak and gsm signal is not avalible due some broken vendor ril or
just running cdma lte and a few others senario creates this issue.

Change-Id: I174eb16554036151228a278537695b77ad93b499
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: I6afd6a75b5a810a23a6a160c4adbc461d53afc3a
Telephony: Ignore the timingAdvance field in SignalStrength

Ignore the timingAdvance field since the frameworks is not
utilizing this field.

Change-Id: I025dc7fe69ec5423439b645781cf95c5c1c115f4
SignalStrength: Hotfix TD-SCDMA 1 + 2

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: I5cd042896fe9c929c6c188b064aa589871eab704
Merge "SignalStrength: Hotfix TD-SCDMA 1 + 2" into kitkat3
(1/2) Add support for using the flip switch (Samsung cover) to turn off the screen

Change-Id: I3457af831bf5e9cd2d49efda52fb5961fee5d68f

Conflicts:
	services/input/Android.mk

(2/2) Add support for using the flip switch to turn off the screen/HLTE: allow lid to control sleep

Change-Id: I538c4eee5a13c297fea75f5d6b959d5bcd550c96

Conflicts:
	overlay/frameworks/base/core/res/res/values/config.xml

Change-Id: I3457af831bf5e9cd2d49efda52fb5961fee5d68f
Samsung cover, delete unneeded file

Change-Id: I8e686248385a913b412d7ae3f49f041c8fa4195a
Merge pull request #16 from LiquidSmooth/kitkat3

merge latest liquid changes