Merge changes I267b3ae9,Ic14d2257

* changes:
  Reorder/cleanup FCM exempt list #3 (fastboot)
  Reorder/cleanup FCM exempt list #2 (audio)
This commit is contained in:
Yifan Hong
2020-09-17 00:22:01 +00:00
committed by Gerrit Code Review

View File

@@ -44,9 +44,6 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
static std::vector<std::string> excluded_exact{
// TODO(b/110261831): reduce items in this list
"android.hardware.audio@7.0",
"android.hardware.audio.effect@7.0",
"android.hardware.fastboot@1.0",
"android.hardware.media.bufferpool@1.0",
"android.hardware.media.bufferpool@2.0",
"android.hardware.tv.cec@2.0",
@@ -61,6 +58,10 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
"android.hardware.common",
"android.hardware.graphics.common",
"android.hardware.keymaster",
// Fastboot HAL is only used by recovery. Recovery is owned by OEM. Framework
// does not depend on this HAL, hence it is not declared in any manifests or matrices.
"android.hardware.fastboot@1.0",
};
auto package_has_prefix = [&](const std::string& prefix) {