Originally cloned from https://github.com/TeamHorizon/platform_frameworks_base