Skip to content
This repository has been archived by the owner on Jul 23, 2020. It is now read-only.

Commit

Permalink
1.73
Browse files Browse the repository at this point in the history
  • Loading branch information
raulhaag committed Oct 28, 2017
1 parent 1ca5937 commit 95c166e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ Downloads
Changelog
---------

Cambios en v1.73:
* Hotfix NineManga.
* Agregado FileProvider para nougat o superior.

Changes in v1.73:
* Hotfix NineManga.
* Add FileProvider for nougat or greater.

Cambios en v1.72:
* Todos los servidores funcionando al 28/10/2017.
* Muchas mejoras en el código.
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "ar.rulosoft.mimanganu"
minSdkVersion 14
targetSdkVersion 24
versionCode 71
versionName "1.71"
versionCode 73
versionName "1.73"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/ar/rulosoft/mimanganu/utils/UpdateUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void run() {
}
outputStream.close();
inputStream.close();
activity.startActivity(getUpdateIntent(activity));
activity.startActivity(getAndPrepareUpdateIntent(activity));
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
Expand All @@ -201,7 +201,7 @@ public void run() {
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
}

private static Intent getUpdateIntent(Context context) {
private static Intent getAndPrepareUpdateIntent(Context context) {
Uri contentUri = FileProvider.getUriForFile(context, "ar.rulosoft.provider", UPDATE_FILE_CACHE);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(contentUri, "application/vnd.android.package-archive");
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="update_message">Cambios en v1.72:\n\t * Todos los servidores funcionando al 28/10/2017.\n\t * Muchas mejoras en el código.</string>
<string name="update_message">Cambios en v1.73:\n\t* Hotfix NineManga.\n\t* Agregado FileProvider para nougat o superior.\nCambios en v1.72:\n\t * Todos los servidores funcionando al 28/10/2017.\n\t * Muchas mejoras en el código.</string>
<string name="action_ajustar_a">Ajustar a</string>
<string name="descargas">Descargas</string>
<string name="datosde">Datos de </string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="update_message">Changes in v1.72:\n\t* All servers working 28/10/2017.\n\t * A lot of improves in the code and rework.</string>
<string name="update_message">Changes in v1.73:\n\t* Hotfix NineManga.\n\t* Add FileProvider for nougat or greater.\nChanges in v1.72:\n\t* All servers working 28/10/2017.\n\t * A lot of improves in the code and rework.</string>
<string name="_12hours">12 Hours</string>
<string name="_1day">1 day</string>
<string name="_2day">2 days</string>
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/res/xml/provider_paths.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<paths>
<root-path
name="external_files"
path="/storage" />
</paths>

0 comments on commit 95c166e

Please sign in to comment.