It's bad UX for the default res to be awful. Now, if a pref
is not found, dockservice will default to MAX_1080P_60HZ.
Change-Id: I8900f3d0819db1afcd34454cfea9b0177f9db89d
Completely redo DockService to:
- Work around NVIDIA hwcomposer issues
- Properly support docking
- Actually use set display preferences
Change-Id: Ic1ea73c113f291bcbe40ecd4ecca3288c88368b4
vali does not have display out, and we will not support hw hacks
at the moment. This could change, in which case we will add env
in bootloader and set prop from cmdline for hdmi display.
Change-Id: I769b8ed1d1efcc4e4aae57697c632352c98eb55a
This is a squash of the following loosely kept history:
```
Rename device settings, override the common version, and build it
Change-Id: Ifff795f77ccc299d284eed56b050dfd59c8563a3
Set display resolution, disable HW overlays and unlock screen automatically when docked
devicesettings: Add power profiles support and cleanup scaling
Code cleanup and fix docked display size setting
devicesettings: Add DPI scaling
Always disable HW Overlays
Properly handle multiple external displays rather than hardcoding ID
devicesettings: Add fan profile support
Remove internal display dpi scaling
Add nice devicesettings icon
devicesettings: Fix atv scaling by restoring past resolution on undock
devicesettings: Fix icon colour and reset power profile on unlock
Expose DeviceSettings in leanback launcher
In the future a leanback variant should be made.
DockService: Updates to support ATV display handling
devicesettings: Add HWC wake rotation workaround
Remove HW overlays workaround from DockService and use prop instead
devicesettings: Add fan coefficient setting for perf profiles
Change-Id: Idf524a50ac96e1adc299b109be9319f6cc161cd9
Cleanup DockService
dockservice: update log statements
- Adds log statement on entering HDMI disconnected block
- Changes display index logging from error to information
```
Co-authored-by: Thomas Makin <halorocker89@gmail.com>
Co-authored-by: CTCaer <ctcaer@gmail.com>
Co-authored-by: Billy Laws <blaws05@gmail.com>
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Change-Id: I0013b598431c7ec28e95de92343f4aa25b9ee5e5