暂时还是没看懂啥意思?先记录下来 后面搞懂了再补充
@TargetApi(17)
private void fixLeakOfUserManager() {
// fix the android os bug of usermanager
try {
final Method m = UserManager.class.getMethod("get", Context.class);
m.setAccessible(true);
m.invoke(null, ToutiaoApplication.app);
} catch (Throwable e) {
}
}
网友评论