QuickSettings: FavContact & UserTile: Open full contact page

QuickContact popup can only be used for phoning/messaging/emailing,
which doesn't make sense when you're opening your own contact.

Opening the full contact directly makes it easier to beam or share
with other (one less click)

Also added this change to include FavContact

Change-Id: Ifd31b8c14ccb9f07e10e5bb2079bbc2f1296414b
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Set foreground priority for shutdown receivers.

The broadcast of ACTION_SHUTDOWN has a timeout of 10 seconds. To
reduce the risk of hitting the timeout and speeding up the
shutdown sequence in ShutdownThread we set the priority of the
BroadcastReceivers to FLAG_RECEIVER_FOREGROUND.

We have seen that this change reduces the shutdown time when
the system is under heavy load.

Change-Id: I22cbf6af8cf6fc4bdefaa1c3da8a7eed7e7b7674
systemui: Add CONNECTIVITY_INTERNAL permission

 * SystemUI needs to be able to list interfaces if tethering is in use
   and we ask for a second tethering path to be set up (BT+USB, etc).
 * Add permission to stop exceptions in the framework and enable
   tethering thru multiple paths.

Change-Id: If7a65c31557dc2f0451f0612fb109f61e8056368
Halo fix for hdpi/mdpi

We need to merge these ASAP!

https://github.com/ParanoidAndroid/android_frameworks_base/commit/a4c65e878fbc3c37d6b18c1a9e07308de04c8311

https://github.com/ParanoidAndroid/android_frameworks_base/commit/4a8c02330602a56d58f790165af0379ad2b1cbd9

https://github.com/ParanoidAndroid/android_frameworks_base/commit/c3c4706f290fc96ac817337612a4f5605be55371
 Fixed SystemUI crash when disable GPU acceleration

The designated logic should switch to SW Canvas render if OpenGL-ES 2.0
is not available when GPU 3D core is disabled or non-existed.

Change-Id: Ie66799bc9e1113a4b09adbb09b77021622a08bc4
Signed-off-by: Xianzhong <b07117@freescale.com>
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
HALO bugfixes

1. some icons were overblown
2. tasking meant having your thumb on the speechbubbles

Change-Id: I04637a5ae96c3d9fa30188a320e13989c48f7f0c
Halo: Fix icon position in tablet status bar
FLAG_ACTIVITY_NEW_TASK re-added to floating windows

ActivityStack modified to not cancel results if window is floating and "new".

Change-Id: I45f3dcc816092daa4192be91828592a0b2b2ac59
PrivacyGuard: New icons close to AOSP style
HALO Size (1/2)

Change-Id: I2780dfee66b0b80b57c62b83c40609104fe3c279
Merge pull request #19 from MNT-Mantas/jb-mr1

Halo fix for hdpi/mdpi
Always prevent wake on home keypress when kl config does not contain WAKE

http://review.cyanogenmod.org/#/c/43124/ introduced a change in behaviour
where the home key could wake a device even if the kl config lacked
the WAKE option.  This fix restores the original behaviour.

Change-Id: I56fc23244957a5738823b5e59f0a719670b41f6d
FW: Set size for custom bg as well. (HALO)
Halo: Avoid showing Halo))) icons in status bar while added to Halo (Credits @Anu6is)
Some changes
Port Date Format from Slim ROM (1/2)

Change-Id: Ia6b302e879150f24fdf0d5fbb2c0266876046829

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
QuietHours: Change Logic (2/2)

Makes sense to me that turning QuietHours
    on should TURN QUIET HOURS ON with
    default time constraints applied.
I.E. QuietHours between 12:00am && 12:00am
    means QuietHours all day.  Having to
    adjust end time to 11:59 is redundant
    and not exactly the clearest implementation.
    Especially when we have a QuickToggle that
    directly toggles the setting on/off.

PS2: Vibrations as well.

Change-Id: Ib4893f9b47cf60fc0c55bf01b5453579385039b5
Kill floating activities running in the same thread when tapping outside
This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Change-Id: I3c51eafdcee7032fa90876411da3ff1eae0106c3
Merge remote-tracking branch 'upstream/jb-mr1' into jb-mr1
remove duplicate entries