fix missing controls

This commit is contained in:
Page Asgardius 2022-10-09 15:18:53 -07:00
parent 1756d2329c
commit 060f8ea0c0
4 changed files with 8 additions and 20 deletions

View file

@ -1,20 +0,0 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "asgardius.page.s3manager",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 28,
"versionName": "0.1.26",
"outputFile": "s3-manager-0.1.26-release.apk"
}
],
"elementType": "File"
}

View file

@ -229,6 +229,14 @@ public class VideoPlayer extends AppCompatActivity {
super.onStop();
}
public void onResume(){
super.onResume();
// put your code here...
if (!playerView.getUseController()) {
playerView.setUseController(true);
}
}
public void onUserLeaveHint() {
super.onUserLeaveHint();
enterPIPMode();