setMillisecondMethod replaceable with patcher

This commit is contained in:
VancedOfficial 2020-10-24 21:46:53 +03:00 committed by GitHub
parent 6a0985ac7e
commit e266f5a6e7

View File

@ -95,7 +95,7 @@ public class PlayerController {
Log.i(TAG, String.format("onCreate called with object %s on thread %s", o.toString(), Thread.currentThread().toString()));
try {
setMillisecondMethod = o.getClass().getMethod("a", Long.TYPE);
setMillisecondMethod = o.getClass().getMethod("replaceMeWithsetMillisecondMethod", Long.TYPE);
setMillisecondMethod.setAccessible(true);
lastKnownVideoTime = 0;