Commit 99dde9d3 by Kim Jinsung

誤文字の修正

parent 50550a06
......@@ -56,9 +56,9 @@ public abstract class ABVSplashActivity extends ABVNoAuthenticatedActivity {
@Override
protected void onResume() {
super.onResume();
boolean chekcFlg = PreferenceUtil.getUserPref(this, AppDefType.UserPrefKey.ALL_PERMISSION_CHECK, true);
boolean checkFlg = PreferenceUtil.getUserPref(this, AppDefType.UserPrefKey.ALL_PERMISSION_CHECK, true);
ABookPermissionHelper helper = new ABookPermissionHelper(this);
if (chekcFlg) {
if (checkFlg) {
PreferenceUtil.putUserPref(this, AppDefType.UserPrefKey.ALL_PERMISSION_CHECK, false);
mPermissionArray = helper.checkMultiPermissions();
} else {
......
......@@ -52,8 +52,8 @@ public class ABookPermissionHelper {
public ArrayList<String> checkAndroidVersionUpPermissions() {
ArrayList<String> reqPermissions = new ArrayList<>();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) { //Android13以上
boolean chekcPermissionFlg = PreferenceUtil.getUserPref(mContext, AppDefType.UserPrefKey.ANDROID_13_PERMISSION_CHECK, true);
if (chekcPermissionFlg) {
boolean checkPermissionFlg = PreferenceUtil.getUserPref(mContext, AppDefType.UserPrefKey.ANDROID_13_PERMISSION_CHECK, true);
if (checkPermissionFlg) {
if (ContextCompat.checkSelfPermission(mContext,
android.Manifest.permission.READ_MEDIA_VIDEO) != PackageManager.PERMISSION_GRANTED) {
reqPermissions.add(android.Manifest.permission.READ_MEDIA_VIDEO);
......
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