fix(YouTube - Force original audio): Show UI setting summary if spoofing to Android Studio

This commit is contained in:
LisoUseInAIKyrios
2025-09-17 20:13:44 +04:00
parent fa4f422a15
commit b7026b7086
50 changed files with 129 additions and 98 deletions

View File

@@ -8,7 +8,6 @@ import static app.revanced.extension.shared.spoof.ClientType.VISIONOS;
import java.util.List;
import app.revanced.extension.shared.spoof.ClientType;
import app.revanced.extension.shared.spoof.requests.StreamingDataRequest;
@SuppressWarnings("unused")
public class SpoofVideoStreamsPatch {
@@ -23,8 +22,7 @@ public class SpoofVideoStreamsPatch {
VISIONOS
);
ClientType client = SPOOF_VIDEO_STREAMS_CLIENT_TYPE.get();
app.revanced.extension.shared.spoof.SpoofVideoStreamsPatch.setPreferredClient(client);
StreamingDataRequest.setClientOrderToUse(availableClients, client);
app.revanced.extension.shared.spoof.SpoofVideoStreamsPatch.setClientsToUse(
availableClients, SPOOF_VIDEO_STREAMS_CLIENT_TYPE.get());
}
}