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

Commit e57ff3d0 authored by Arun Johnson's avatar Arun Johnson Committed by Android Build Cherrypicker Worker
Browse files

[Large Audio frame support] Add aconfig feature flags

Test: Manual:
 - Test flag can be called in codec service
 - Test flag can be flipped by tooling
  - adb shell setprop persist.device_config\
              .aconfig_flags.codec_fwk\
	      .com.android.media.codec.flags\
	      .large_audio_frame true

Bug: 298052174
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:26ce3d1bca536921138a07e4f78ba93e39150aab)
Merged-In: I1c4fd403f6b9622a598be41091aa08a37e1eee63
Change-Id: I1c4fd403f6b9622a598be41091aa08a37e1eee63
parent 71b17f99
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
aconfig_declarations {
    name: "aconfig_mediacodec_flags",
    package: "com.android.media.codec.flags",
    srcs: ["mediacodec_flags.aconfig"],
}

java_aconfig_library {
    name: "aconfig_mediacodec_flags_java_lib",
    aconfig_declarations: "aconfig_mediacodec_flags",
    defaults: ["framework-minus-apex-aconfig-java-defaults"],
}

cc_aconfig_library {
    name: "aconfig_mediacodec_flags_c_lib",
    aconfig_declarations: "aconfig_mediacodec_flags",
}
+8 −0
Original line number Original line Diff line number Diff line
package: "com.android.media.codec.flags"

flag {
  name: "large_audio_frame"
  namespace: "codec_fwk"
  description: "Feature flags for large audio frame support"
  bug: "297219557"
}