Includes:
- Per-app refresh rate config
- Extreme refresh rate (Force all apps to run in maximum refresh rate)
- Temp refresh rate allowed (Used in MEMC)
- Refresh rate QS tile
Change-Id: I30024eb8ce63f00a6f2fa1ea0230b004ff93ac74
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create BasePerAppConfigFragment
* Allow more preference types instead of only ListPreference.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Create PerAppSwitchConfigFragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Add top info for per-app settings
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Don't show system apps for sensor block fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Pass uid in per-app config fragment
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Allow specific allowed system app list for per-app fragment
* We need to allow dialer/messages/contact for fullscreen display settings.
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Make sure per-app list has no duplicates
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Warn user app reload before switching fullscreen display
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Adapt for Android U QPR2
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
Settings: Use ArrayMap/Set instead of HashMap/Set
Signed-off-by: cjh1249131356 <cjh1249131356@gmail.com>
[joeyhuab: Squashed all changes by same author]
Settings: Add null check for PreferenceScreen in BasePerAppConfigFragment
Co-authored-by: NurKeinNeid <nurkeinneid@derpfest.org>
Signed-off-by: NurKeinNeid <nurkeinneid@derpfest.org>