* Stop handling cust and vendor mounting from kernel, first stage init is gonna do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system, system_ext and vendor mount points to /dev/block/by-name/, we don't have bootdevice symlink to that point in init
* Copy fstab to ramdisk for first stage init
Change-Id: If8d75837f47c70f7ea02183bffaff233b4d6bb26
Newer AOSP deprecates LOCAL_MODULE_TAGS := eng debug.
We now remove that and instead add the package to
PRODUCT_PACKAGES_ENG or PRODUCT_PACKAGES_DEBUG as applicable.
To ensure that we don't miss out on any package during this switch,
we add these explicitly, even though it might have been already
added under PRODUCT_PACKAGES at some other location.
Change-Id: I35bd67c3e7752be5bcd8f8682864062173e92724
This custom HAL is now dead after the switch to OSS display HAL,
therefore there's no need to override the service anymore.
Change-Id: Ied16935684495bcab3b4ce7fe3061df9cff3ea39
* This damn HAL was breaking night light and who knows what else.
* Remove all its related props as those are useless without
the service running.
Change-Id: Ia1a9ba58e74129bc1cac0f0a0fe863d3057750e2
* Android 9 (P) is now available as public beta, meaning that all the hacks
for running 8.1 with 8.0 blobs can now be dropped.
Change-Id: I68595dd790dec51fb45ccd1d3fb907be81f3b896
* After "audiopolicy: update APM to use custom audio policy configuration"
change in frameworks/av, APM first loads config from /vendor/etc/audio/
instead of /vendor/etc/. While that was intended, it uncovered several
issues in the rather outdated configs shipped in Android 8.0 based
vendor images for polaris.
* This ensures that common audio policy configuration is forcebly picked,
thus fixing BT A2DP and audio routing when using USB-C DACs.
Change-Id: Idb1c7c1348a85af4b3168b7a74c51d73b1406b53
Android 8.1 added the support for new type of USB Audio devices
(USB_HEADSET, instead of old USB_DEVICE)
Some older USB devices got converted to this USB_HEADSET while still
using the old protocol.
There is no driver change needed, but the audio policy needs to be
changed.
Since vendors are simply using AOSP usb_audio_policy_configuration
Override it by ourself.
Change-Id: I5c43cd7c95f721914cf94f4dc20c992b4f6a24e9