Revert "Squash: Memory leaks, NPEs, races and optimizations for fw/base"

This reverts commit 9ea45ba9adfda1a2ff81c21e68792104eb8cdd2e.
Merge branch 'pac-4.4' of https://github.com/PMStaging/android_frameworks_base into pac-4.4