Revert "Active display: Don't show active display if call state is not idle."

This reverts commit 712e0a63829eeb4266412fe74dba7f2a7e9935cf.
Revert "Active-D: Make GlowPadView center the current notification icon for us"

This reverts commit 6085926b86be6b6e5307b210c47b940359747951.
Revert "Active display: Only fetch next notification if mNotification is null."

This reverts commit 2f9ac020159dcee08c851ccd7a4eae1d8c3b10f3.
Revert "Active display: Use a default notificaiton icon."

This reverts commit d8cb35ebb28c2b021aab9f77608247c9b75d4d37.
Revert "Revert these 2 Active Display commits"

This reverts commit 542664609c117032ca5e9f3dfd0910aafbf156aa.
Revert "Active display: Enable proximity sensor only when screen is off"

This reverts commit f3cff51cc45a9d6315ed2174c2e7de6a1d60ed35.
Revert "Active display: allow hiding low priority notifications. [1/2]"

This reverts commit 1d8a4de0d9baab804b1e74fda3dfd5845fbd7e3d.
Revert "Active-D: Make GlowPadView center the current notification icon for us"

This reverts commit 7eb8851ba37b83991177997ef32b643d82b41e1a.
Revert "Active display: Unify (un)registering callbacks and add proper checks."

This reverts commit 09fffe40863a822d8643b3339f95ff572689eb6b.
Revert "Active display: Catch Resources.NotFoundException"

This reverts commit 5820fd70de43a93558d29f2ce6f7d1a80f9764d7.
Active display: Unify (un)registering callbacks and add proper checks.

Change-Id: Ie4c4660a54d2c60831f7a3bcc66b3a9ca1d035f2
Active display: allow hiding low priority notifications. [1/2]

Change-Id: I4831d6864b509e62b449c25619c59f5d6760ec47
Active display: Enable proximity sensor only when screen is off

This should ease people worried about cpu usage of the proximity
sensor while the screen is on.  The sensor listener will only be
registered when the screen goes off, and both active display and
pocket mode are enabled.  Once the screen turns on this listener
will be unregistered so no further updates are received when the
sensor values change.

Change-Id: I70979b5931815adb74bd8bc42e32886a6d829a12
Active display: Use a default notificaiton icon.

In case there is an exception when trying to load the
notification icon we will use a default one.

Change-Id: I4087ef3e407cf976f7bfb2bb89f850641101bc73
Active-D: Make GlowPadView center the current notification icon for us

sudo makemeasandwich

ps2: make scaling both smarter and stupider SIMULTANEOUSLY

Change-Id: I582f387fd3c1c83f2bbd0d31a4b43e22d1b82d63
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Active display: Only fetch next notification if mNotification is null.

Change-Id: Ife8511d4a4b8c448bc7aa8997a250068bec5fae7
Active display: Don't show active display if call state is not idle.

This will prevent active display from displaying when a call is
coming in and let the call screen show up instead of active display.

Change-Id: I2cb79e097ae24dc6ad6c8a33be88eb19f7d8d235