去掉权限提示框

This commit is contained in:
renhaoting 2026-01-08 15:02:48 +08:00
parent f69449e982
commit 9fa41f37cb
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ public class PermissionActivity extends AppCompatActivity {
unGrantedPermissionsStr.append("[" + permissions[i].substring(permissions[i].lastIndexOf(".") + 1) + "] ");
}
}
sendResultBroadCast(finalGrantedCount > 0 ? PermissionUtil.PERMISSION_RESULT_PARTIAL_GRANTED : PermissionUtil.PERMISSION_RESULT_ALL_REJECTED);
finish();
/*new AlertDialog.Builder(this)
.setTitle("Permission has been denied") //.setTitle("权限已被拒绝")
.setMessage(PERMISSION_TOTAL_REJECTED_HINT + unGrantedPermissionsStr)