Fix Smart Pulldown

Currently if No dismissible or persistent is chosen, quick setting still appears when persistant notifications are present.  This fixes that.

Change-Id: Id8907a4f888e48ed511dd11b484508eca93fa0b3
(cherry picked from commit a57efb015789fd8fd9128cc3bda918dc21163c3b)
Framworks: Possibly construct ticker views if user changed settings.

Otherwise it leads into a FC

Change-Id: I3f96e162fb9d221cca5d376f38c3a313c8746d48

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

(cherry picked from commit 2707dfc3404aa3dfcec59853dba8aa3c0220e2fd)
StopSwitchDelay - Remove 5s Delay To Open Apps After Pressing Home Button

Conflicts:
	services/java/com/android/server/am/ActivityManagerService.java

Change-Id: I86b882244dc5e240a2e94d651fa5366c43919dee
(cherry picked from commit 6b51aa63f416cf5d1269055be010fee912824501)
Fix blacklist unknown number mode query string.

The same was string was being used to query the database for both private and
unknown numbers, with the effect that enabling private number blocking also
blocked unknown numbers.

Change-Id: I5a77566fde3187ff6044415c64e74ce4e10cd4dc
(cherry picked from commit df77a7036ce15d9b912881a57f01728b0d0a6880)
(cherry picked from commit aa5b3890844770758d2e9118f059982576185d84)
Fix a ticker feature derp!

(cherry picked from commit 0746e34bef4df262fe5331e14e4a6f47ab4fb36a)
Frameworks: add ability to change the color in battery saver mode (1/2)

User complain about the ugly orange....give the user the ability to change the
color in status and navigation bar if battery saver mode is activated.

Especially for you Tylog :D

PS
- move it into the observer...method is called to often to call every time
  the settings value for it.

Change-Id: I48ed2e85c462a2e94770b2bc1ad75b1ca40f2304

Conflicts:
	core/java/android/provider/Settings.java

(cherry picked from commit 4313f6f13ed0fa15fcc66cf759cbb815bacd4c16)
Frameworks: Be sure heads up view is attached before removing it

We did not have it in our tests but some user ran into it. Thing is if the
system is disabling notifications for whatever reason and till this time the
view was never attached and the system tries to detach the view on windowmanager
we run into an illegal argument exception.

Fix it with simply checking if the view was attached before removing it.

Change-Id: I0800beed3553815cc529087052138345773b32e4
(cherry picked from commit a02757fe3035fae726e5c8d7577cf7bd7a7d66a2)
Allow 3 AT (mnc05) to roam on T-Mobile in Austria

Change-Id: Ie1a62db9a48cfaf594ddda7b413299a9b587ddd4

Conflicts:
	core/res/res/values-mcc232-mnc05/config.xml

(cherry picked from commit 657c89b75e156f59b5ee3530b7ecd3d5930c21ee)
Tele2 considered non-roaming on T-Mo

Change-Id: Ibb05f277b701861b8716168b54e96f63127e686d

Conflicts:
	core/res/res/values-mcc204-mnc02/config.xml

(cherry picked from commit ccf30a79bb18b95c0e0457606fc30e7ddd6fb23a)
Vectone UK (MNC01) considered non-roaming on T-Mobile (MNC30)

Change-Id: Id74c854f958be721be12451a124cfd2f8b150255
(cherry picked from commit 5ac2a66b5463c43b48301d48c3d78075a3979275)
SystemUI: redraw navbar icons, add custom navbar icons back

Patchset: add sw600dp versions

Patchset: finish up the rest of the custom icons

Change-Id: I0925fe7a348a8914757caaca6c97d85fb7337f7b
(cherry picked from commit f2164f98294f9cc7f2d24abb388b7a62e2318742)
Frameworks: Gesture Lockscreen (1/2)

This adds the ability to us a hand drawn gesture as
a means to unlock the device.

In the case that the gesture is forgotton or not
being recognized correctly, the fallback will be the
same as when using patterns.

Androidx:
Some changes needed for 5.0

@alviteri: crDroid'fy

(cherry picked from commit fb0784ccbfecc493595275369784fdc1acf1145b)