[1/2] Frameworks: Add in-the-spot user preference dialog

Based on https://github.com/AOSPA/android_frameworks_base/commit/177a89deba3b06bfeb766c1ed1b840f09f3ccf30#diff-f940f15458a2b4627fa1252bd43b5facR2623 without QS pulldown stuff