From 1c06b8c91dc83eec8f1a9b82702a2b3046949954 Mon Sep 17 00:00:00 2001 From: Rakesh Kumar Date: Fri, 6 Sep 2024 17:44:58 +0530 Subject: [PATCH] media_solutions: Add android.media.editing.flags-aconfig flag Test: builds Bug: 341121900 Change-Id: I1dfd5beec61c5033a9d9ff44b8280029c2af90a5 --- AconfigFlags.bp | 5 +++++ media/java/android/media/flags/editing.aconfig | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/AconfigFlags.bp b/AconfigFlags.bp index 96d6f32fc1df..c72638469b55 100644 --- a/AconfigFlags.bp +++ b/AconfigFlags.bp @@ -625,6 +625,11 @@ java_aconfig_library { defaults: ["framework-minus-apex-aconfig-java-defaults"], } +cc_aconfig_library { + name: "com.android.media.flags.editing-aconfig-cc", + aconfig_declarations: "com.android.media.flags.editing-aconfig", +} + // MediaProjection aconfig_declarations { name: "com.android.media.flags.projection-aconfig", diff --git a/media/java/android/media/flags/editing.aconfig b/media/java/android/media/flags/editing.aconfig index bf6ec9635912..185f579df4b9 100644 --- a/media/java/android/media/flags/editing.aconfig +++ b/media/java/android/media/flags/editing.aconfig @@ -8,3 +8,10 @@ flag { description: "Add media metrics for transcoding/editing events." bug: "297487694" } + +flag { + name: "stagefrightrecorder_enable_b_frames" + namespace: "media_solutions" + description: "Enable B frames for Stagefright recorder." + bug: "341121900" +}