Hover: exclude from insecure lockscreen (1/2)

Enable/disable hover notifications from insecure lockscreen

Change-Id: I9235d8dac32359dff692f6f9c821c715fefe9cde

Conflicts:

	core/java/android/provider/Settings.java
StatusBarView: Ensure to not overload in/out animations
- Post animate call in main thread, thanks @David96
- Handle animation checking current view visibility

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: David L.-W. <xD_e-mail@gmx.de>
ExpandHelper: Improve one finger expanding forced handling
Instead of force returning false if view is null, setup a boolean
to force it with custom views like hover. Cherry-picked from CM.

Also request disallow intercept on drag started.

Original commit: https://github.com/AOSPA/android_frameworks_base/commit/e9570a45660973966f5df6a270f34f7826624f28
ExpandHelper.java codes was already inside

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
StatusBarView: Avoid unnecessary calls to mHandler.post()
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: David L.-W. <xD_e-mail@gmx.de>
Adjust status_bar_expanded_header.xml margin
Wifi: Use bss->age identifier for wifi scan results

This value will be used as "timestamp" and Google Play Services
uses this value for identifying sane wifi scan items.

The current timestamp (tsf=) has a different meaning, which causes
the Google Location Resolver to ignore all wifi scan entries and
therefore no location can be resolved.

This solution is already done on batched result parsing, but
missing on the traditional scans.

Change-Id: I36a1aeb666379e6a010298f09161e971012db83f
Hover master switch (1/2)

This commit remove hover button from status bar expanded and add a new option into hover settings allowing the user to enable or disable it using a checkbox

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
HOVER: Match notification width on tablets too

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
HOVER: Ensure to clear after reparenting all notifications

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
HOVER: Fix notification content not being updated
MountService: Handle UUID in list response

Change-Id: Ifee8905ae01c17c79b218ec131650c25f6e977d6
keyguard: force marquee effect for carrier text

This allows to make rooms for languages with long carrier text descriptions.

Change-Id: I8a3f69d186e79971c66c4977d258b2bda48ceeff
JIRA: CYAN-4356
Issue: https://jira.cyanogenmod.org/browse/CYAN-4356
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
PackageManager: Add option for single threaded dexopt

* Execute all dexopt invocations on the main thread instead of using the
  ExecutorService when persist.sys.dalvik.multithread is set to false.

Change-Id: I3b8499d5af5091ad7abcddf006f8f2837943903b
Themes: Use first asset entry for lockscreen wallpaper

The current implementation assumes the wallpaper will be named
either wallpaper.png or wallpaper.jpg.  If this is not the case
the wallpaper is not applied.  This patch implements the lockscreen
wallpaper the same way that the regular wallpaper is done.

Change-Id: I9f3dd299c1e61158fa53c163f7e42e21e2f9b1dc
HeadsUp: Add heads up blacklist options. (1/2)

Change-Id: If9e5eed658871400b3c21d9354262e0887bc592e

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
HeadsUp: Fix resetHeadsUpDecayTimer.

    - If user has forced immersive mode through expanded desktop,
    we shouldn't hide the heads up notification quickly.

Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>

Change-Id: I6ac015ce5c28216cafd3ce96f8d1993495b26897
Themes: Use default_wallpaper for HOLO lockscreen wp

Change-Id: I9c7fd29c99d13e811993eb9b3b045010431ccad0
Fixes for hover

From @Cristiano Matos