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:
inotia00
2025-02-10 16:28:08 +09:00
parent 1f10fdbccd
commit 2f80fc9623
4 changed files with 46 additions and 0 deletions

View File

@ -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;
}
}