avoid multiple instances
This commit is contained in:
parent
55e405537e
commit
1756d2329c
8 changed files with 26 additions and 2 deletions
20
app/release/output-metadata.json
Normal file
20
app/release/output-metadata.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"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"
|
||||||
|
}
|
BIN
app/release/s3-manager-0.1.26-release.aab
Normal file
BIN
app/release/s3-manager-0.1.26-release.aab
Normal file
Binary file not shown.
BIN
app/release/s3-manager-0.1.26-release.apk
Normal file
BIN
app/release/s3-manager-0.1.26-release.apk
Normal file
Binary file not shown.
|
@ -90,6 +90,7 @@
|
||||||
android:supportsPictureInPicture="true"
|
android:supportsPictureInPicture="true"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode|keyboardHidden"
|
android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode|keyboardHidden"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
|
android:launchMode="singleTask"
|
||||||
android:theme="@style/Theme.AsgardiusS3Manager.NoActionBar" />
|
android:theme="@style/Theme.AsgardiusS3Manager.NoActionBar" />
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
|
|
|
@ -224,6 +224,7 @@ public class VideoPlayer extends AppCompatActivity {
|
||||||
player.release();
|
player.release();
|
||||||
playerView.setPlayer(null);
|
playerView.setPlayer(null);
|
||||||
simpleCache.release();
|
simpleCache.release();
|
||||||
|
finish();
|
||||||
}
|
}
|
||||||
super.onStop();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
|
|
@ -70,7 +70,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="70dp"
|
android:layout_height="70dp"
|
||||||
android:text="@string/save_settings"
|
android:text="@string/save_settings"
|
||||||
android:textColor="#ffffff"
|
android:textColor="?android:attr/colorBackground"
|
||||||
android:textSize="24sp" />
|
android:textSize="24sp" />
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="70dp"
|
android:layout_height="70dp"
|
||||||
android:text="@string/about_button"
|
android:text="@string/about_button"
|
||||||
android:textColor="#ffffff"
|
android:textColor="?android:attr/colorBackground"
|
||||||
android:textSize="24sp" />
|
android:textSize="24sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
|
@ -91,4 +91,5 @@
|
||||||
<string name="videotime">Tiempo de expiración para visor multimedia (en horas)</string>
|
<string name="videotime">Tiempo de expiración para visor multimedia (en horas)</string>
|
||||||
<string name="buffersize">Tamaño del buffer del reproductor multimedia (en milisegundos)</string>
|
<string name="buffersize">Tamaño del buffer del reproductor multimedia (en milisegundos)</string>
|
||||||
<string name="buffersize_error">El tamaño del búfer debe ser de al menos 2001 milisegundos</string>
|
<string name="buffersize_error">El tamaño del búfer debe ser de al menos 2001 milisegundos</string>
|
||||||
|
<string name="mediaplayer_multierror">Solo se puede reproducir un archivo multimedia a la vez</string>
|
||||||
</resources>
|
</resources>
|
|
@ -95,4 +95,5 @@
|
||||||
<string name="videotime">Expiration time for media viewer (in hours)</string>
|
<string name="videotime">Expiration time for media viewer (in hours)</string>
|
||||||
<string name="buffersize">Media player buffer size (in milliseconds)</string>
|
<string name="buffersize">Media player buffer size (in milliseconds)</string>
|
||||||
<string name="buffersize_error">Buffer size must be at least 2001 milliseconds</string>
|
<string name="buffersize_error">Buffer size must be at least 2001 milliseconds</string>
|
||||||
|
<string name="mediaplayer_multierror">Only one media file can be played at once</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in a new issue