mirror of
https://github.com/inotia00/revanced-patches.git
synced 2025-06-12 21:27:43 +02:00
fix(YouTube Music - Spoof client): Some users have a playback issue even if Spoof client
is turned on (A/B testing)
This commit is contained in:
@ -131,4 +131,16 @@ public class SpoofClientPatch extends BlockRequestPatch {
|
||||
}
|
||||
return original;
|
||||
}
|
||||
|
||||
/**
|
||||
* Injection point.
|
||||
* <p>
|
||||
* Return false to force disable playback feature flag.
|
||||
*/
|
||||
public static boolean forceDisablePlaybackFeatureFlag(boolean original) {
|
||||
if (SPOOF_CLIENT) {
|
||||
return false;
|
||||
}
|
||||
return original;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user