Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Commit

Permalink
调整用户引导界面
Browse files Browse the repository at this point in the history
  • Loading branch information
Fan095 committed Oct 10, 2023
1 parent ffdbf3f commit 2164429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/sevtinge/cemiuiler/utils/CtaUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ public static boolean showCtaDialog(Activity activity, int requestCode) {
}

private static String[] getRuntimePermission() {
return new String[]{"android.permission.CHANGE_WIFI_STATE"};
return new String[0];
}

private static String[] getRuntimePermissionDesc(Activity activity) {
return new String[]{activity.getResources().getString(R.string.new_permission_wifi_state_desc)};
return new String[0];
}

private static String[] getOptionalPermission() {
Expand Down

0 comments on commit 2164429

Please sign in to comment.