Don't create idmap if app doesn't have resources.arsc

Some apps do not have a restable but some legacy themes
try to theme these apps anyways. In this case we skip
the idmap creation process.

Change-Id: I8bc60984299791733d4fe8c9bbcaa75eca6d736b
(cherry picked from commit ee4b66dc3eb136cf2e1c83ba0d061809177e202d)
Fix icon support for secondary users.

This fixes the problem when switching to a secondary user and
icons are currently applied.  Prior to this patch the secondary
user would see droids as their icons and apps would FC at start.

Change-Id: Icd4275eae5868612bf2a81b375ac4d0779a61395
(cherry picked from commit 67b7916e5a10e0ad0eac9b60fabec21b2a6b4911)
Hover settings (1/2)

- Require full screen mode;
- Hide non-clearable;
- Exclude low priority;

Original commits
https://github.com/TheKang/frameworks_base/commit/598fa9d46e84b563d9ec6ffa75a38da9fc3cc5a9
https://github.com/TheKang/frameworks_base/commit/a3b44ef4fce7cdabc477075ac646b596dc0f83a4

Thanks @Der-Schubi

Change-Id: If3c34496acf75d49434902c49dfe48f997c0b668

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

(cherry picked from commit 265681c31172adc8a01b4d728937945c311dbc55)

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/notification/Hover.java
Hover notification timeout (1/2)

Allow user to set how much time the hover notification will stay visisible without touch the screen

Change-Id: I5847adb3f33522d9d78867685f9867477542c37e
(cherry picked from commit 4b9c612228bc4db591b1ca56f52abfcafb4b300b)
Remove lockscreen slide delay option (2/2)

Also enable this option for insecure lockscreen:
* Power button instantly locks

Change-Id: Ibf93519637e0c08bad5d2224c3f76c99b0af60f7
(cherry picked from commit 8df73182e2b7a416f8c0ea7e5150d1dc5b4a28cb)
Fix for default USB debugging in eng builds.

* Start adbd on first launch and accept all connections for eng
* Start adbd on first launch and prompt for userdebug
* Do not start adbd for user.

Change-Id: I26d1ef1bb208cec79d45687aea833a1b3e076b83
(cherry picked from commit a5b521ed25e3da4a8f2b5cd7e75172e9eb74475e)