This repository was archived by the owner on Jul 23, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +20
-9
lines changed
java/ar/rulosoft/mimanganu Expand file tree Collapse file tree 8 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ Downloads
4949
5050Changelog
5151---------
52+ Cambios en v1.128:
53+ * Pequeños arreglos.
54+
55+ Changes on v1.128:
56+ * Small Fixes.
57+
5258Cambios en v1.126:
5359* Fix varios servidores.
5460
Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ android {
55 buildToolsVersion ' 29.0.3'
66 defaultConfig {
77 applicationId " ar.rulosoft.mimanganu"
8- versionCode 127
9- versionName " 1.127 "
8+ versionCode 128
9+ versionName " 1.128 "
1010 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1111 minSdkVersion 15
1212 }
@@ -83,7 +83,7 @@ dependencies {
8383 implementation ' com.github.sevar83:indeterminate-checkbox:1.0.5@aar'
8484 implementation group : ' org.brotli' , name : ' dec' , version : ' 0.1.2'
8585 // implementation group: 'com.github.junrar', name: 'junrar', version: '4.0.0'
86- implementation ' com.github.raulhaag:RapidDecoder:0.3.0ax '
86+ implementation ' com.github.raulhaag:RapidDecoder:0.3.1Ax '
8787 implementation ' com.squareup.okhttp3:okhttp:3.9.1' // on 3.10.0 are deprecated some ciphers
8888 implementation ' com.squareup.okio:okio:1.15.0'
8989 implementation ' com.squareup.duktape:duktape-android:1.2.0' /* v 1.2.0 need 4+mb extra*/
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ protected void onCreate(Bundle savedInstanceState) {
9090
9191 @ Override
9292 protected void onNewIntent (Intent intent ) {
93+ super .onNewIntent (intent );
9394 int mangaIdFromNotification = intent .getIntExtra ("manga_id" , -1 );
9495 Log .i ("MainActivity" , "mangaID: " + mangaIdFromNotification );
9596
Original file line number Diff line number Diff line change @@ -174,7 +174,8 @@ public synchronized void chapterInit(Chapter chapter) throws Exception {
174174
175175 String ca = getNavigatorAndFlushParameters ().get (HOST + "/Scripts/ca.js" );
176176 String lo = getNavigatorAndFlushParameters ().get (HOST + "/Scripts/lo.js" );
177- try (Duktape duktape = Duktape .create ()) {
177+ try {
178+ Duktape duktape = Duktape .create ();
178179 duktape .evaluate (ca );
179180 duktape .evaluate (lo );
180181 Pattern p = Pattern .compile ("javascript\" >(.+?)<" , Pattern .DOTALL );
@@ -195,6 +196,7 @@ public synchronized void chapterInit(Chapter chapter) throws Exception {
195196 sb .append ("|" ).append (image );
196197 }
197198 chapter .setExtra (sb .toString ());
199+ } catch (Exception ignored ) {
198200 }
199201 chapter .setPages (pages );
200202 }
Original file line number Diff line number Diff line change @@ -332,9 +332,11 @@ public void onStatusChanged(ChapterDownload chapterDownload) {
332332
333333 private void initPool () {
334334 PowerManager powerManager = (PowerManager ) getSystemService (POWER_SERVICE );
335- PowerManager .WakeLock wakeLock = powerManager .newWakeLock (PowerManager .PARTIAL_WAKE_LOCK , "DPS_wakelock " );
335+ PowerManager .WakeLock wakeLock = powerManager .newWakeLock (PowerManager .PARTIAL_WAKE_LOCK , "MMN:Wakelock " );
336336 try {
337- wakeLock .acquire ();
337+ if (wakeLock != null ) {
338+ wakeLock .acquire (Long .MAX_VALUE );
339+ }
338340 } catch (Exception e ) {
339341 e .printStackTrace ();
340342 }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
3- <string name =" update_message" >Cambios en v1.126 :\n\t* Fix varios servidores .</string >
3+ <string name =" update_message" >Cambios en v1.128 :\n\t* Pequeños arreglos .</string >
44 <string name =" action_ajustar_a" >Ajustar a</string >
55 <string name =" descargas" >Descargas</string >
66 <string name =" datosde" >Datos de </string >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<resources >
3- <string name =" update_message" >Changes on v1.126 :\n\t* Fix servers .</string >
3+ <string name =" update_message" >Changes on v1.128 :\n\t* Small Fixes .</string >
44 <string name =" _12hours" >12 Hours</string >
55 <string name =" _1day" >1 day</string >
66 <string name =" _2day" >2 days</string >
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ buildscript {
1515
1616allprojects {
1717 repositories {
18+ google()
1819 jcenter()
1920 maven { url " https://jitpack.io" }
20- google()
2121 }
2222}
You can’t perform that action at this time.
0 commit comments