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

Commit 83e7077d authored by Lais Andrade's avatar Lais Andrade
Browse files

Create cc library for vibrator flags

Bug: 356144312
Flag: android.os.vibrator.fix_audio_coupled_haptics_scaling
Test: libvibrator_test
Change-Id: I8a452fc26391d58bc006c2f887fcc91b3c1f82c3
parent b68592ba
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -478,6 +478,13 @@ java_aconfig_library {
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

cc_aconfig_library {
    name: "android.os.vibrator.flags-aconfig-cc",
    aconfig_declarations: "android.os.vibrator.flags-aconfig",
    host_supported: true,
    vendor_available: true,
}

// View
aconfig_declarations {
    name: "android.view.flags-aconfig",
+10 −0
Original line number Diff line number Diff line
@@ -85,3 +85,13 @@ flag {
        purpose: PURPOSE_FEATURE
    }
}

flag {
    namespace: "haptics"
    name: "fix_audio_coupled_haptics_scaling"
    description: "Fix the audio-coupled haptics scaling to use same function as VibrationEffect"
    bug: "356144312"
    metadata {
      purpose: PURPOSE_BUGFIX
    }
}