-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds permission of capture audio output, which is required by echo-reference device to capture output for looopback purpose. Test Done: -loopback verification with kitchen sink app. Tracked-On: OAM-116907 Signed-off-by: sadhansx <[email protected]> Signed-off-by: sgnanase <[email protected]>
- Loading branch information
1 parent
4f69d95
commit abbb51c
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
aosp_diff/preliminary/frameworks/base/0001-Enable-capture-capabilities.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 778d9230cc277b0b25bdfeec9177a197b46891b8 Mon Sep 17 00:00:00 2001 | ||
From: sadhansx <[email protected]> | ||
Date: Sun, 12 Jan 2025 06:46:12 +0000 | ||
Subject: [PATCH] Enable capture capabilities | ||
|
||
This patch adds permission of capture audio output, | ||
which is required by echo-reference device to capture | ||
output for looopback purpose. | ||
|
||
Test Done: | ||
-loopback verification with kitchen sink app | ||
|
||
Tracked-On: OAM-116907 | ||
Signed-off-by: sadhansx <[email protected]> | ||
Signed-off-by: sgnanase <[email protected]> | ||
--- | ||
data/etc/privapp-permissions-platform.xml | 4 ++++ | ||
1 file changed, 4 insertions(+) | ||
|
||
diff --git a/data/etc/privapp-permissions-platform.xml b/data/etc/privapp-permissions-platform.xml | ||
index 880f30c6cdc0..6580437b1e1c 100644 | ||
--- a/data/etc/privapp-permissions-platform.xml | ||
+++ b/data/etc/privapp-permissions-platform.xml | ||
@@ -25,6 +25,10 @@ applications that come with the platform | ||
<permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> | ||
</privapp-permissions> | ||
|
||
+ <privapp-permissions package="com.google.android.car.kitchensink"> | ||
+ <permission name="android.permission.CAPTURE_AUDIO_OUTPUT"/> | ||
+ </privapp-permissions> | ||
+ | ||
<privapp-permissions package="com.android.angle"> | ||
<permission name="android.permission.WRITE_SECURE_SETTINGS"/> | ||
</privapp-permissions> | ||
-- | ||
2.34.1 | ||
|
34 changes: 34 additions & 0 deletions
34
...inary/packages/services/Car/0001-In-AndroidManifest.xml-enable-capture-capabilities.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
From d131c47dee69e297fc6b762f1c57c4ab10873e28 Mon Sep 17 00:00:00 2001 | ||
From: sadhansx <[email protected]> | ||
Date: Sun, 12 Jan 2025 06:52:55 +0000 | ||
Subject: [PATCH] In AndroidManifest.xml enable capture capabilities | ||
|
||
This patch adds permission of capture audio output, | ||
which is required by echo-reference device to capture | ||
output for looopback purpose. | ||
|
||
Test Done: | ||
-loopback verification with kitchen sink app. | ||
|
||
Tracked-On: OAM-116907 | ||
Signed-off-by: sadhansx <[email protected]> | ||
Signed-off-by: sgnanase <[email protected]> | ||
--- | ||
tests/EmbeddedKitchenSinkApp/AndroidManifest.xml | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/tests/EmbeddedKitchenSinkApp/AndroidManifest.xml b/tests/EmbeddedKitchenSinkApp/AndroidManifest.xml | ||
index 922e3f06aa..2bcdd0e554 100644 | ||
--- a/tests/EmbeddedKitchenSinkApp/AndroidManifest.xml | ||
+++ b/tests/EmbeddedKitchenSinkApp/AndroidManifest.xml | ||
@@ -139,6 +139,7 @@ | ||
<uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING"/> | ||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> | ||
<uses-permission android:name="android.permission.RECORD_AUDIO" /> | ||
+ <uses-permission android:name="android.permission.CAPTURE_AUDIO_OUTPUT" /> | ||
<uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE"/> | ||
<uses-permission android:name="android.permission.MODIFY_DAY_NIGHT_MODE"/> | ||
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/> | ||
-- | ||
2.34.1 | ||
|