fix:本地实名认证插入数据库改为contentProvider插入,并在Manifest加入queries

This commit is contained in:
guotao
2022-08-15 11:32:02 +08:00
parent 50db76ce70
commit 61f77a6fcc
3 changed files with 22 additions and 18 deletions

View File

@ -161,8 +161,8 @@ public class DataUtils {
values.put(GhContentProvider.KEY_IS_ADULT, false);
}
new GhContentProvider().localInsert( HaloApp.getInstance().getApplication(),values);
// HaloApp.getInstance().getContentResolver().insert(Uri.parse("content://com.gh.gamecenter.provider/certification"), values);
// new GhContentProvider().localInsert( HaloApp.getInstance().getApplication(),values);
HaloApp.getInstance().getContentResolver().insert(Uri.parse("content://com.gh.gamecenter.provider/certification"), values);
}
});
}