frameworks: Port PA's hybrid Settings
Credits to Beerbong.
Don't compile yet.

Change-Id: Iffa31f129de334b8057dd41d3dcde989e907ce9d