Skip to content

Commit 0f43451

Browse files
committed
1.删除无用权限申请。
1 parent 5e1b562 commit 0f43451

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/main/java/com/umeng/soexample/HomeActivity.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,6 @@ public void onClick(View view) {
5252
}
5353
});
5454

55-
if(Build.VERSION.SDK_INT >= 23){
56-
String[] mPermissionList = new String[]{
57-
Manifest.permission.READ_PHONE_STATE};
58-
this.requestPermissions(mPermissionList, 123);
59-
}
6055
}
6156

6257

0 commit comments

Comments
 (0)