FWB: Hover, notification timeout (1/2)

Change-Id: I645c68f6ae62ba363f00a0237ae7970982d60a39

Conflicts:
	core/java/android/provider/Settings.java
FB: Add Dialpad key padding [2/3]

Add top and bottom padding to Dialpad number keys to make the layout seem
        less crowded.

Change-Id: I04f02963da82df5ebfbfa2936c3060355169b479

Conflicts:
	core/java/android/provider/Settings.java
Reset battery stats [1/2]

Change-Id: I90c1d1ab73c2187b68230a6db1db19dec2a5924b

Conflicts:
	core/java/android/content/Context.java
	core/res/res/values/strings_custom.xml
HALO Tile (1/2)
AppCircleBar Tile (1/2)
Fix frontOfTask assignment.

If all activities of a given stack were finishing, no activity was
marked as front-of-task. This confused ActivityManager, so make sure
there's always exactly one activity marked as front-of-task.

Change-Id: I087cbe10280d4a60aa5ccfaefe24a223523fb3f2
Recents : port AOSB Mod with Bubble Recentes inspired from ios8 (1/2)

recode to fit vanir implementation of switching

inspired from ios8 : blogdoiphone.com/wp-content/uploads/2014/06/betaiOS8_2plano.jpg

The iOS 8 feature,

that enables dynamic callback to check last call detail on a single click / open the contact card when you click it twice (double tap)

Display favourite/starred contacts in recents. Also enjoy full iOS8 style in AOSB recents.

Introducing iOS8:
https://plus.google.com/b/107409945821339773111/+ProBamNet/posts/GaDmD8fW4f2

CONTRIBUTORS:
@codex-corp
@slightfoot
Fixing parcel leaks to avoid virtual memory leak

Client has to call recycle() on parcel object after its usage
otherwise native layer of binder won't clear the resources of
parcel which were allocated for IPC

Change-Id: Ib31ddcc92aa4ebd80bb66729922b9133692e9c9e
Default icon is shown after uninstalling updated priv-app

If updated pre-installed app is moved from "/system/app" to
"/system/priv-app" at FOTA, PackageManager does not update its
resource path correctly. This patch fixes it.

Change-Id: Iac793bcb8fd7c5bfbafd1876640b534c6da5dddf
Apk which is not on "/system/priv-app" still has privileged flag.

When an app is moved from "/system/priv-app" it still has the
privileged flag.

Change-Id: I7713382db34697f7b68283dbbbd25a1349cbecdb
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>
Change-Id: I3871ce65ef15c731ce0e7fcce5d07e5b5f40fc54

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Keyguard: update correctly track title and info if screen turns on

AOSP issue - Force update both if screen turns on.

Change-Id: I3d3198534c3ccdaa0ad2f40a967cc092a7dc0a0c
Keyguard: don't try to fetch the badgeIcon if remoteClientPackage == null

Logcat shows....if client is lost there is no need to force an exception due that remoteClientPackage
in this case is null.

Change-Id: I80e612610f93c9d70c854b2fcb8fbf0c0d8f9e2a
Fix the bug in replacing a fragment with itself.

Summary:

We are facing a bug that some fragments in our app got removed
randomly. We debugged the app and it seems there is a bug in
the fragment API.

When we we are trying to replace a fragment with itself. We will
try to make the operation a null op, then both `op.fragment` and
`f` will be reset to null.

  op.fragment = f = null;

But since it's inside a loop, if the list `mAdded` still have
items to be visited, the code will continue to the next
iteration. Then it will compare the fragment with null, and
reach the line:

  mManager.removeFragment(old, mTransition, mTransitionStyle);

Eventually it will delete all left fragments in the list `mAdded`.

This diff adds a break to abort the searching after we null
the operation.

Test Plan:

1) Tested with our app. No fragment is randomly removed.

Revert Plan:

Change-Id: I5dc2c07a1bb1d1da1b0fd4e5610d970d55a81e86
Tags:
Signed-off-by: Kang Zhang <kangzhang.cn@gmail.com>
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
base: Volume button wake: simplify logic
Remove lockscreen slide delay option (2/2)

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

Change-Id: Ibf93519637e0c08bad5d2224c3f76c99b0af60f7

Conflicts:
	core/java/android/provider/Settings.java
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>

Conflicts:
	packages/Keyguard/res/layout/keyguard_emergency_carrier_area.xml
HOVER: Match notification width on tablets too

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Conflicts:
	packages/SystemUI/res/values/pa_dimens.xml
HOVER: Ensure to clear after reparenting all notifications

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: I8d3735836952394942f044ebd067d7cc7a82bc2e