Commit eb007d58 authored by jyx's avatar jyx

代码优化

parent c80a48a8
......@@ -18,6 +18,7 @@ import com.duben.miniplaylet.net.V6Service;
import com.duben.miniplaylet.utils.AppPreferencesManager;
import com.duben.miniplaylet.utils.ForegroundOrBackground;
import com.duben.miniplaylet.utils.MateUtils;
import com.duben.oaid.MiitHelper;
import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.FormatStrategy;
import com.orhanobut.logger.Logger;
......@@ -167,16 +168,16 @@ public class MintsApplication extends MultiDexApplication {
*/
private void initMiitHelper() {
try {
// MiitHelper miitHelper = new MiitHelper(new MiitHelper.AppIdsUpdater() {
//
// @Override
// public void onIdsValid(String ids) {
// MintsApplication.OAID = ids;
//
// System.out.println("123123123 oaid=" + ids);
// }
// });
// miitHelper.getDeviceIds(MintsApplication.getContext(), true, true, true);
MiitHelper miitHelper = new MiitHelper(new MiitHelper.AppIdsUpdater() {
@Override
public void onIdsValid(String ids) {
MintsApplication.OAID = ids;
System.out.println("123123123 oaid=" + ids);
}
});
miitHelper.getDeviceIds(MintsApplication.getContext(), true, true, true);
} catch (Exception e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment