Restart App via Recents
Revert "Restart App via Recents"

Test this commit properly, this is something it should be @MBQSniper.

Get help if you can.

This reverts commit 151d58c937925887f0cde6d29fd4114ca041760d.
Fix Watchdog HeartbeatHandler to run on correct thread

The HeartbeatHandler for the System Server Watchdog has been running
on the wrong thread due to a race condition in initialization.  It's
designed to run on ServerThread, so that it can catch lockups in the
main looper of the System Server.  It has been running on
ActivityManagerThread instead, so it does not detect lockups on the
ServerThread as it should.

ActivityManagerService is calling Watchdog.getInstance() before
ServerThread calls Watchdog.getInstance().init(), so the handler is
being bound to the ActivityManagerThread instead of the ServerThread.

Explicitly bind HeartbeatHandler to ServerThread, so that the Watchdog
catches lockups on this critical thread.

Change-Id: Iccb184ac3adb817feb86ed4ee0e50e443bf74636
Add turn off action to WiFi Tether notification

Change-Id: I320405ed7e90e4c06ecdb127cd4c1cad6bedbcdd
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Revert "Remove opaque check in GLRenderer when preparing dirty region."

 * This causes artifacts even with 8974 drivers.

This reverts commit c422280a7668ddbe1c4e399b083ec3d8a04059b1.

Change-Id: Iec4addc2d8aaeb6ce6a359aafd9fd9b97aef95e6
Revert "Status bar Auto-Hide [1/2]"

This reverts commit fd9d932aac72dd76b01d67d57291ab8194f156a1.
Revert "Frameworks: Ehance toggleNotificationShade feature"

This reverts commit f3e8d5235a37d22be58e584366c88456c07d1313.
Revert "Fix and cleanup Expanded Desktop Mode"

This reverts commit 25ec70e412bc6cec4fe431b235f49999cc262318.
Some Expanded Desktop changes
Revert "Fix divisions by zero on boot."

This reverts commit 0373438eb9e850628baab5b00b690f8c07859e82.
More changes
Fix divisions by zero on boot.

Change I976ffae3a56d411b00026f86b16efa9743a23293 introduced a problem
where depending on the rotation settings the WM override display
configuration would be filled with invalid values.
Fix that by correctly checking that the display is ready prior to
setting the override configuration.

Change-Id: Ia3fd7603d9c1212cd32536803b4c12390a798606
Dirty fix
Expanded Desktop Toggle
Remove extra space with circle battery.
Hidden Statusbar Pulldown Timeout (1/2)

Make default 10 second pulldown window configurable.

Big thanks to Steve Spear for help on this!

TO DO: Fix Hidden Statusbar Pulldown so a reboot isnt needed to completely turn it off.
FW: settings: arrayList API rework

There is nothing wrong with the current implementation
it just requires some implicit knowledge about the internals
which should not be used for an API added at such a central
location

To reset the value back to "" you must know that setString
musst be used instead of providing just an empty list which
would be a more "logical" approach

With this the client code would also become easier cause
the check for size()>0 would not be longer required
e.g. in RibbonTargets

I would also suggest to change getArrayList so that it
returns an empty list for the case that the value is ""
instead of an list with size 1 and the single item ""

Allthough this would be a change in the API it would
make the API sync with the putArrayList and would also
be the more "logical" return value for this case

I think I have checked all current uses of getArrayList
and as far as I can see that change would have no impact
on the existing code. But please correct me if I am
wrong with this.

Change-Id: I58a34e1238fefbfe088252e785cfed3d8c3acf4b
Signed-off-by: maxwen <max.weninger@gmail.com>
Frameworks: Add Permissions Management to AOKP [3/4]

Allows the user to revoke individual permissions on a per app basis.  Adapted from
CM7 commits 949eb057d81da7cd0a79fc1fe9cc9c4d989d1c27 and 4a0a352b36b21d0d22713c232baccca84ce13a2d
to work with 4.2.2

Change-Id: Ibc7be45b88838a2fffaff80514e77702d330de0f
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Fix typo

Change-Id: I58f863c4eb1eb4196d001c280027ab59bee51ce4
Fix NPE on Lockscreen freeze on landscape