[ActivityManager] Fix NPE when start activity

Symptom:
NPE occurs in line 1184 (resultStack.sendActivityResultLocked)
because resultStack is null.

Root cause:
When starting activity with FLAG_ACTIVITY_FORWARD_RESULT flag,
the resultRecord could be updated, but the resultStack is not
updated as well. In that case, the resultStack is still be
null. The exception will occurs if the activity is not
granted to launch due to permission denied.

Solution:
Update resultStack when resultRecord updates.

Change-Id: I91634e4f713c2e8dbd1a71f358a8fd9beed83ec7
Revert "[ActivityManager] Improve task order of getRunningTasks."

This reverts commit 16300830c223eed0c27b3364cfe0ea95d2cf29d5.
Revert "[ActivityManager] Prevent provider from been created twice."

This reverts commit 4efd7ad3c16722d05b1b4de7c0b6e445eb1dde82.
SystemUI: MSim: hide subs label on KeyGuard

This is already displayed on the top-left corner

Change-Id: If671e7875693143a721f37cd090aa28b2512800e
SystemUI : Fix clear app data crash in recents panel

Change-Id: I78d48fae2ba6ac9727d4997e24af8e4b134950ab
android_servers: Fix the duration argument for CPU_BOOST

Clear incompatible pointer conversion errors in 64bit

Change-Id: I4df49249dede5fedc65a4fb1fc06c099a3262065