mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-28 12:57:46 +00:00
Revert "Fix AudioRecord package name for Android 16"
This reverts commit c27d116a662c87ee84963820669ee0d2ce60e6f1. This commit breaks audio on Android 16 beta 4. Refs #5960 comment <https://github.com/Genymobile/scrcpy/issues/5960#issuecomment-2816608015> Fixes #6021 <https://github.com/Genymobile/scrcpy/issues/6021>
This commit is contained in:
parent
1a0d300786
commit
6875e9aa88
@ -72,7 +72,7 @@ public final class FakeContext extends ContextWrapper {
|
|||||||
@Override
|
@Override
|
||||||
public AttributionSource getAttributionSource() {
|
public AttributionSource getAttributionSource() {
|
||||||
AttributionSource.Builder builder = new AttributionSource.Builder(Process.SHELL_UID);
|
AttributionSource.Builder builder = new AttributionSource.Builder(Process.SHELL_UID);
|
||||||
builder.setPackageName("shell");
|
builder.setPackageName(PACKAGE_NAME);
|
||||||
return builder.build();
|
return builder.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user