This commit is contained in:
wangcongtao
2020-03-14 13:30:48 +08:00
parent 36c27387c3
commit 7524c3b42d
3 changed files with 19 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ package com.mogo.map.impl.amap.hook;
import com.amap.api.maps.AMap;
import com.autonavi.base.amap.api.mapcore.IAMapDelegate;
import com.autonavi.base.amap.mapcore.interfaces.IAMapListener;
import com.mogo.utils.logger.Logger;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationHandler;
@@ -43,6 +44,9 @@ public class BnHooker implements InvocationHandler {
if ( method.getName().equals( "setRenderFps" ) ) {
return method.invoke( host, 10 );
}
if ( method.getName().equals( "drawFrame" ) ) {
Logger.d(TAG, "drawFrame");
}
return method.invoke( host, args );
}
}