android_build/target/board/generic
Kevin Rocard b4150586c5 Add emulator audio policy config in /vendor not /system
audio_policy_configuration_generic.xml is pushed in /system as the default
configuration (used if the vendor does not provide one in /vendor or /odm)
and for the emulator.

As a result it can be parsed by 2.0 and 4.0 audio HALs. The format
is retro-compatible, but not forward-compatible.

Additionally, the generic config pushed in /system should never be used
as the vendor should always provide a configuration file describing its
target architecture. Thus it should not be part of the GSI.

Those files were originally pushed in /system the emulator
target does not provide its own configuration file.
The emulator should provide config file instead in /vendor instead.

Bug: 78543061
Test: sdk_gphone_x86 and aosp_x86_64 emulator has audio
Test: adb shell cat /vendor/etc/audio_policy_configuration.xml | diff - \
          frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml
Change-Id: Ice43cb4670a82f4e60fcccc58a636d224f240b5a
Merged-In: Ice43cb4670a82f4e60fcccc58a636d224f240b5a
Signed-off-by: Kevin Rocard <krocard@google.com>
(cherry picked from commit dad3ad6126)
2018-08-21 06:42:11 +00:00
..
AndroidBoard.mk
BoardConfig.mk Enable dyanmic image size for GSI 2018-08-03 14:47:43 +08:00
README.txt
device.mk Add emulator audio policy config in /vendor not /system 2018-08-21 06:42:11 +00:00
system.prop emulator: move rild.libpath to vendor 2017-10-26 16:45:05 -07:00

README.txt

The "generic" product defines a non-hardware-specific target
without a kernel or bootloader.

It can be used to build the entire user-level system, and
will work with the emulator, though sound will not work
(see the "emulator" product for that).

It is not a product "base class"; no other products inherit
from it or use it in any way.