Frameworks: hide heads up when screen is on

This hides heads up when lock screen notifications are
enabled and notifcations are recieved while screen is on

Change-Id: Ie0193b51a86b0443def12d90dd6d2c9cdc677606
Revert "[ActivityManager] Prevent potential deadlock from system error dialog and InputMethodManager."

This reverts commit 691799630c128db119d23835a9d179d124538af9.

Team - I think these ActivityManager commits are what are causing the widget loading issues on my devices.

Change-Id: I775df9c4b16ef05a07487b88a0b5fe3af3aee3c0
Merge "Revert "[ActivityManager] Prevent potential deadlock from system error dialog and InputMethodManager."" into kitkat3
Revert "[ActivityManager] Prevent kill a restarted process again."

This reverts commit 02357a5bea869785af392d4164d75d4ca34d141b.

Change-Id: Ib85258939afec1142d534c5e908f08bcb25ddccd
Merge "Revert "[ActivityManager] Prevent kill a restarted process again."" into kitkat3
Revert "[ActivityManager] Avoid keeping restarting home when only home activity exists."

This reverts commit 4ff51c19cc2e37c980ab5bbfcccec083e35a2d82.

Change-Id: I50f05e538c87a01efee09d73c4d5d48ab9b51262
Merge "Revert "[ActivityManager] Avoid keeping restarting home when only home activity exists."" into kitkat3
Merge pull request #14 from LiquidSmooth/kitkat3

merge latest liquid changes