Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fd960f9 authored by Yifan Hong's avatar Yifan Hong Committed by Automerger Merge Worker
Browse files

Merge "Reorder/cleanup FCM exempt list #1" am: ef85febe am: 7380d36a am:...

Merge "Reorder/cleanup FCM exempt list #1" am: ef85febe am: 7380d36a am: 7a07e923 am: 5ea7bf3c am: 8f7f56ff

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1427724

Change-Id: I1a636204c61a7ae4f87dee140964a39cd534a4a4
parents 93bc41f9 8f7f56ff
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -33,12 +33,12 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
    };

    static std::vector<std::string> excluded_prefixes{
            // TODO(b/110261831): reduce items in this list
            "android.hardware.gnss.measurement_corrections@",
            // Packages without top level interfaces (including types-only packages) are exempted.
            "android.hardware.camera.device@",
            "android.hardware.gnss.measurement_corrections@1.",
            "android.hardware.graphics.bufferqueue@",

            // Exempted.
            "android.hardware.camera.device@",
            // Test packages are exempted.
            "android.hardware.tests.",
    };

@@ -46,20 +46,21 @@ bool ShouldCheckMissingHalsInFcm(const std::string& package) {
            // TODO(b/110261831): reduce items in this list
            "android.hardware.audio@7.0",
            "android.hardware.audio.effect@7.0",
            "android.hardware.biometrics.fingerprint@2.3",
            "android.hardware.cas.native@1.0",
            "android.hardware.fastboot@1.0",
            "android.hardware.gnss.visibility_control@1.0",
            "android.hardware.media.bufferpool@1.0",
            "android.hardware.media.bufferpool@2.0",
            "android.hardware.radio.config@1.2",
            "android.hardware.tv.cec@2.0",
            "android.hardware.tv.tuner@1.0",
            "android.hardware.keymaster",

            // Exempted
            // Packages without top level interfaces (including types-only packages) are exempted.
            // HIDL
            "android.hardware.cas.native@1.0",
            "android.hardware.gnss.visibility_control@1.0",
            "android.hardware.radio.config@1.2",
            // AIDL
            "android.hardware.common",
            "android.hardware.graphics.common",
            "android.hardware.keymaster",
    };

    auto package_has_prefix = [&](const std::string& prefix) {