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

Commit

Permalink
v1.128
Browse files Browse the repository at this point in the history
  • Loading branch information
raulhaag committed Apr 13, 2020
1 parent db04a11 commit b4b7aa2
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 9 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ Downloads

Changelog
---------
Cambios en v1.128:
* Pequeños arreglos.

Changes on v1.128:
* Small Fixes.

Cambios en v1.126:
* Fix varios servidores.

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ android {
buildToolsVersion '29.0.3'
defaultConfig {
applicationId "ar.rulosoft.mimanganu"
versionCode 127
versionName "1.127"
versionCode 128
versionName "1.128"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
minSdkVersion 15
}
Expand Down Expand Up @@ -83,7 +83,7 @@ dependencies {
implementation 'com.github.sevar83:indeterminate-checkbox:1.0.5@aar'
implementation group: 'org.brotli', name: 'dec', version: '0.1.2'
//implementation group: 'com.github.junrar', name: 'junrar', version: '4.0.0'
implementation 'com.github.raulhaag:RapidDecoder:0.3.0ax'
implementation 'com.github.raulhaag:RapidDecoder:0.3.1Ax'
implementation 'com.squareup.okhttp3:okhttp:3.9.1' //on 3.10.0 are deprecated some ciphers
implementation 'com.squareup.okio:okio:1.15.0'
implementation 'com.squareup.duktape:duktape-android:1.2.0'/* v 1.2.0 need 4+mb extra*/
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/ar/rulosoft/mimanganu/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ protected void onCreate(Bundle savedInstanceState) {

@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
int mangaIdFromNotification = intent.getIntExtra("manga_id", -1);
Log.i("MainActivity", "mangaID: " + mangaIdFromNotification);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,8 @@ public synchronized void chapterInit(Chapter chapter) throws Exception {

String ca = getNavigatorAndFlushParameters().get(HOST + "/Scripts/ca.js");
String lo = getNavigatorAndFlushParameters().get(HOST + "/Scripts/lo.js");
try (Duktape duktape = Duktape.create()) {
try {
Duktape duktape = Duktape.create();
duktape.evaluate(ca);
duktape.evaluate(lo);
Pattern p = Pattern.compile("javascript\">(.+?)<", Pattern.DOTALL);
Expand All @@ -195,6 +196,7 @@ public synchronized void chapterInit(Chapter chapter) throws Exception {
sb.append("|").append(image);
}
chapter.setExtra(sb.toString());
} catch (Exception ignored) {
}
chapter.setPages(pages);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,11 @@ public void onStatusChanged(ChapterDownload chapterDownload) {

private void initPool() {
PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "DPS_wakelock");
PowerManager.WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "MMN:Wakelock");
try {
wakeLock.acquire();
if (wakeLock != null) {
wakeLock.acquire(Long.MAX_VALUE);
}
} catch (Exception e) {
e.printStackTrace();
}
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.126:\n\t* Fix varios servidores.</string>
<string name="update_message">Cambios en v1.128:\n\t* Pequeños arreglos.</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 on v1.126:\n\t* Fix servers.</string>
<string name="update_message">Changes on v1.128:\n\t* Small Fixes.</string>
<string name="_12hours">12 Hours</string>
<string name="_1day">1 day</string>
<string name="_2day">2 days</string>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ buildscript {

allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
google()
}
}

0 comments on commit b4b7aa2

Please sign in to comment.