Frameworks: fix typo

causes broken backlight on hardwarekeys
if it is set to always on

sorry for that

cheers

Change-Id: I4747239f681f4714ac1ab767a1be48219e1b620f
Don't assume any ringtone is present on external storage.

If that assumption doesn't hold true, the user will lose his ringtone
and won't know why.

Change-Id: I89409e1351792d020c5458f5104f4bb9f2a040f2
Expand Profiles [1/2]

This commit expands the profiles power menu entry in the to be
- Always hidden
- Hidden only on the lockscreen
- Always show [not applicable to secure lockscreen]

Change-Id: I2e7262abc4043523150e96b330f92c8c042d1d2a
Lockscreen : Fix widgets disabled

Currently, when keyguard widgets are disabled via the DevicePolicyManager,
a default widget if specified via widget_default_package_name/widget_default_class_name
is added on the main screen, and if not successful the default status widget is added.

However in its current state, each cycle of the lockscreen alternates between the two widgets.
Reason is, the default app widget is constantly recycled on screen power cycles, and in such events,
when checkAppWidgetConsistency() fails to add the widget (since the id is no longer valid), it toggles
back to the default status widget, and resets the stored id. Next cycle a new id is allocated and it works
and so on ...

This patchset addresses this issue by not removing the default status widget if not necessary, hence
preserving its id and fixing the toggling issue.

Change-Id: I6b21d18346fed5accc72141097939c92ee9aaa3c
Add Statusbar Quick Peek [1/2]

Adds the ability to peek at the statusbar when hidden
by swiping down from the top edge of the screen.

PS 1/3 : Fixed Derp!
PS 4   : Added Fullscreen app support!
PS 5   : Added Pie Detection
PS 6   : Derp forgot the TOP Flag!
PS 7/9 : Some fixes

Change-Id: I4beda91e21518cd2fa391ff1b0fe23ea8e24370e
Revert "Missing parts"

This reverts commit 8bbdecfffbc882368eafdd66cceb2df7da3e37e1.
Revert "HALO CLEAN UP"

This reverts commit cb87cbdb1f873df324549035134b0e4b622a286b.
Revert "Fix build errors due to not PA PIE and dirty merges"

This reverts commit ef9be3bf8e93b107b8d76c0c2ebe3d431009619c.
Revert "Fix white"

This reverts commit b5f192030a6dd72ab08921a92b5b0cc979b8b9af.
Revert "HALO (1/2)"

This reverts commit eab0a8a684929e53c7d280cdb4bf674e1e18f1d6.