Skip to content

Commit

Permalink
delete request.grant(request.getResources());
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Oct 9, 2020
1 parent 2557712 commit 5d50f90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ public void handleFileChooser(int requestCode, int resultCode, Intent intent) {
@Override
public void onPermissionRequest(PermissionRequest request) {
super.onPermissionRequest(request);
request.grant(request.getResources());
// 部分页面可能崩溃
// request.grant(request.getResources());
}

ByFullscreenHolder getVideoFullView() {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0'
classpath 'com.android.tools.build:gradle:3.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit 5d50f90

Please sign in to comment.