Add CAP_BLOCK_SUSPEND Linux capability to system server

Add block suspend capability to system server to allow
system server to hold wake locks in more recent Linux
kernels.

Change-Id: If37e6b3db43cde6b185e699926a940f6717aa05b
Fix broken arc drawing in Camera app.

Commit f311e1983741e71e1632044bc8b2356d8688d29c introduced a recursion
abortion threshold, but missed properly handling negative values. Fixit.

Change-Id: I6776371d1567eba0a84d2e1bf702b46879e30332
Temp: Revert "ContentProvider: Avoid duplicate initialization of AsyncTask"

This reverts commit 53137947a408f0e459ebf06d22a9af0a1ffd5f19.

Revert "[ActivityManager] Fix index out of bounds when updating next pss time."

This reverts commit 2e12c9f0b2c31851ad8ee726270918c3ef33f237.

Revert "[ActivityManager] Prevent provider creating twice."

This reverts commit cef903783b8376bf2443dcc800337ed041ba5c81.

Revert "[ActivityManager] Fix NullPointerException when dumping ContentProviderRecord."

This reverts commit 2543a6a88814ee2dee2bff673475943c3c9b99df.

Revert "[ActivityManager] Ensure provider external access count will be released."

This reverts commit 9694ceab80bafe24ce64e74cc9d825bfce6dbc1e.

Revert "[ActivityManager] Fix ServiceRecord leakage"

This reverts commit 37bd5b4f49d7febe89b9450c72a08c4496a25c9f.

Revert "[ActivityManager] Finish the failed-to-pause activity"

This reverts commit 62af692085703a2978e894117dabb9c8a026505a.

Revert "[ActivityManager] Fix race condition in pss collection"

This reverts commit d2c72f5269398141e975fd3bda87b8ecc3f38a68.