liuyuqi-dellpc 3 years ago
parent
commit
251b13b29a

+ 0 - 255
app/src/main/java/com/epson/cameracopy/alt/BmpFileInfo.java

@@ -24,262 +24,7 @@ class BmpFileInfo {
     BmpFileInfo() {
     }
 
-    /* JADX WARNING: Removed duplicated region for block: B:130:0x01bf A[SYNTHETIC, Splitter:B:130:0x01bf] */
-    /* JADX WARNING: Removed duplicated region for block: B:134:0x01c6 A[SYNTHETIC, Splitter:B:134:0x01c6] */
-    /* JADX WARNING: Removed duplicated region for block: B:141:0x01cd A[SYNTHETIC, Splitter:B:141:0x01cd] */
-    /* JADX WARNING: Removed duplicated region for block: B:145:0x01d4 A[SYNTHETIC, Splitter:B:145:0x01d4] */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
     public boolean readParams(java.lang.String r11) {
-        /*
-            r10 = this;
-            r10.mFileName = r11
-            java.io.File r0 = new java.io.File
-            r0.<init>(r11)
-            long r0 = r0.length()
-            r2 = 0
-            r3 = 0
-            java.io.FileInputStream r4 = new java.io.FileInputStream     // Catch:{ IOException -> 0x01ca, all -> 0x01bb }
-            r4.<init>(r11)     // Catch:{ IOException -> 0x01ca, all -> 0x01bb }
-            java.nio.channels.FileChannel r2 = r4.getChannel()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11 = 512(0x200, float:7.175E-43)
-            java.nio.ByteBuffer r11 = java.nio.ByteBuffer.allocate(r11)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.clear()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.nio.ByteOrder r5 = java.nio.ByteOrder.LITTLE_ENDIAN     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.order(r5)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r5 = r2.read(r11)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            long r5 = (long) r5
-            r7 = 30
-            int r9 = (r5 > r7 ? 1 : (r5 == r7 ? 0 : -1))
-            if (r9 >= 0) goto L_0x0038
-            r4.close()     // Catch:{ IOException -> 0x0032 }
-        L_0x0032:
-            if (r2 == 0) goto L_0x0037
-            r2.close()     // Catch:{ IOException -> 0x0037 }
-        L_0x0037:
-            return r3
-        L_0x0038:
-            r11.flip()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            byte r5 = r11.get()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.Byte r5 = java.lang.Byte.valueOf(r5)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            byte r6 = r11.get()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.Byte r6 = java.lang.Byte.valueOf(r6)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            byte r5 = r5.byteValue()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r7 = 66
-            if (r5 != r7) goto L_0x01ae
-            byte r5 = r6.byteValue()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r6 = 77
-            if (r5 == r6) goto L_0x005d
-            goto L_0x01ae
-        L_0x005d:
-            int r5 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mFileSize = r5     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r5 = r10.mFileSize     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            long r5 = (long) r5     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r7 = (r5 > r0 ? 1 : (r5 == r0 ? 0 : -1))
-            if (r7 == 0) goto L_0x0098
-            java.io.PrintStream r11 = java.lang.System.out     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.StringBuilder r5 = new java.lang.StringBuilder     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r5.<init>()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r6 = "filesize error. header filesize <"
-            r5.append(r6)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r6 = r10.mFileSize     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r5.append(r6)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r6 = ">. actual file size <"
-            r5.append(r6)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r5.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = ">"
-            r5.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = r5.toString()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.println(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r4.close()     // Catch:{ IOException -> 0x0092 }
-        L_0x0092:
-            if (r2 == 0) goto L_0x0097
-            r2.close()     // Catch:{ IOException -> 0x0097 }
-        L_0x0097:
-            return r3
-        L_0x0098:
-            r0 = 0
-        L_0x0099:
-            r1 = 2
-            if (r0 >= r1) goto L_0x00ae
-            short r1 = r11.getShort()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            if (r1 == 0) goto L_0x00ab
-            r4.close()     // Catch:{ IOException -> 0x00a5 }
-        L_0x00a5:
-            if (r2 == 0) goto L_0x00aa
-            r2.close()     // Catch:{ IOException -> 0x00aa }
-        L_0x00aa:
-            return r3
-        L_0x00ab:
-            int r0 = r0 + 1
-            goto L_0x0099
-        L_0x00ae:
-            int r0 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mDataOffset = r0     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r0 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mHeaderSize = r0     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r0 = r10.mHeaderSize     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r5 = 40
-            if (r0 >= r5) goto L_0x00c9
-            r4.close()     // Catch:{ IOException -> 0x00c3 }
-        L_0x00c3:
-            if (r2 == 0) goto L_0x00c8
-            r2.close()     // Catch:{ IOException -> 0x00c8 }
-        L_0x00c8:
-            return r3
-        L_0x00c9:
-            int r0 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mWidth = r0     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r0 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mHeight = r0     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            short r0 = r11.getShort()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r5 = 1
-            if (r0 == r5) goto L_0x0100
-            java.io.PrintStream r11 = java.lang.System.out     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.StringBuilder r1 = new java.lang.StringBuilder     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r1.<init>()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r5 = "plain error <"
-            r1.append(r5)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r1.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = "> != 1"
-            r1.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = r1.toString()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.println(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r4.close()     // Catch:{ IOException -> 0x00fa }
-        L_0x00fa:
-            if (r2 == 0) goto L_0x00ff
-            r2.close()     // Catch:{ IOException -> 0x00ff }
-        L_0x00ff:
-            return r3
-        L_0x0100:
-            short r0 = r11.getShort()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mBitPerPixel = r0     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r0 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            if (r0 == 0) goto L_0x0130
-            java.io.PrintStream r11 = java.lang.System.out     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.StringBuilder r1 = new java.lang.StringBuilder     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r1.<init>()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r5 = "compression error <"
-            r1.append(r5)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r1.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = "> != 0"
-            r1.append(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = r1.toString()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.println(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r4.close()     // Catch:{ IOException -> 0x012a }
-        L_0x012a:
-            if (r2 == 0) goto L_0x012f
-            r2.close()     // Catch:{ IOException -> 0x012f }
-        L_0x012f:
-            return r3
-        L_0x0130:
-            int r11 = r11.getInt()     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r10.mImageDataBytes = r11     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r11 = r10.mImageDataBytes     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r0 = 4
-            r6 = 3
-            if (r11 != 0) goto L_0x0163
-            int r11 = r10.mBitPerPixel     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r7 = 8
-            if (r11 == r7) goto L_0x0151
-            r7 = 24
-            if (r11 == r7) goto L_0x014f
-            r4.close()     // Catch:{ IOException -> 0x0149 }
-        L_0x0149:
-            if (r2 == 0) goto L_0x014e
-            r2.close()     // Catch:{ IOException -> 0x014e }
-        L_0x014e:
-            return r3
-        L_0x014f:
-            r11 = 3
-            goto L_0x0152
-        L_0x0151:
-            r11 = 1
-        L_0x0152:
-            int r7 = r10.mWidth     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r11 = r11 * r7
-            r7 = r11 & 3
-            if (r7 == 0) goto L_0x015d
-            int r7 = 4 - r7
-            int r11 = r11 + r7
-        L_0x015d:
-            int r7 = r10.mHeight     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r11 = r11 * r7
-            r10.mImageDataBytes = r11     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-        L_0x0163:
-            int r11 = r10.mDataOffset     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r7 = r10.mImageDataBytes     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r11 = r11 + r7
-            int r7 = r10.mFileSize     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            if (r11 == r7) goto L_0x01a5
-            java.io.PrintStream r11 = java.lang.System.out     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r7 = "unsupported data size, file size."
-            r11.println(r7)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.io.PrintStream r11 = java.lang.System.out     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.util.Locale r7 = java.util.Locale.US     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r8 = " file size <%d>, data size <%d> data offset <%d>. sum <%d>"
-            java.lang.Object[] r0 = new java.lang.Object[r0]     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r9 = r10.mFileSize     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r0[r3] = r9     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r9 = r10.mImageDataBytes     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r0[r5] = r9     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r9 = r10.mDataOffset     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.Integer r9 = java.lang.Integer.valueOf(r9)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r0[r1] = r9     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r1 = r10.mImageDataBytes     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r9 = r10.mDataOffset     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            int r1 = r1 + r9
-            java.lang.Integer r1 = java.lang.Integer.valueOf(r1)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r0[r6] = r1     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            java.lang.String r0 = java.lang.String.format(r7, r8, r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-            r11.println(r0)     // Catch:{ IOException -> 0x01b9, all -> 0x01b7 }
-        L_0x01a5:
-            r4.close()     // Catch:{ IOException -> 0x01a8 }
-        L_0x01a8:
-            if (r2 == 0) goto L_0x01ad
-            r2.close()     // Catch:{ IOException -> 0x01ad }
-        L_0x01ad:
-            return r5
-        L_0x01ae:
-            r4.close()     // Catch:{ IOException -> 0x01b1 }
-        L_0x01b1:
-            if (r2 == 0) goto L_0x01b6
-            r2.close()     // Catch:{ IOException -> 0x01b6 }
-        L_0x01b6:
-            return r3
-        L_0x01b7:
-            r11 = move-exception
-            goto L_0x01bd
-        L_0x01b9:
-            goto L_0x01cb
-        L_0x01bb:
-            r11 = move-exception
-            r4 = r2
-        L_0x01bd:
-            if (r4 == 0) goto L_0x01c4
-            r4.close()     // Catch:{ IOException -> 0x01c3 }
-            goto L_0x01c4
-        L_0x01c3:
-        L_0x01c4:
-            if (r2 == 0) goto L_0x01c9
-            r2.close()     // Catch:{ IOException -> 0x01c9 }
-        L_0x01c9:
-            throw r11
-        L_0x01ca:
-            r4 = r2
-        L_0x01cb:
-            if (r4 == 0) goto L_0x01d2
-            r4.close()     // Catch:{ IOException -> 0x01d1 }
-            goto L_0x01d2
-        L_0x01d1:
-        L_0x01d2:
-            if (r2 == 0) goto L_0x01d7
-            r2.close()     // Catch:{ IOException -> 0x01d7 }
-        L_0x01d7:
-            return r3
-        */
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.alt.BmpFileInfo.readParams(java.lang.String):boolean");
     }
 

+ 4 - 52
app/src/main/java/com/epson/cameracopy/alt/FileUtils.java

@@ -3,6 +3,8 @@ package com.epson.cameracopy.alt;
 import android.content.Context;
 import android.os.Environment;
 
+import androidx.annotation.NonNull;
+
 import epson.common.ExternalFileUtils;
 import java.io.File;
 
@@ -28,59 +30,9 @@ public class FileUtils {
         return file;
     }
 
-    /* JADX WARNING: Removed duplicated region for block: B:23:0x003a A[SYNTHETIC, Splitter:B:23:0x003a] */
-    /* JADX WARNING: Removed duplicated region for block: B:27:0x0041 A[SYNTHETIC, Splitter:B:27:0x0041] */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public static void copy(java.io.File r9, java.io.File r10) throws java.io.IOException {
-        /*
-            r0 = 0
-            java.io.FileInputStream r1 = new java.io.FileInputStream     // Catch:{ all -> 0x0036 }
-            r1.<init>(r9)     // Catch:{ all -> 0x0036 }
-            java.nio.channels.FileChannel r9 = r1.getChannel()     // Catch:{ all -> 0x0036 }
-            java.io.FileOutputStream r1 = new java.io.FileOutputStream     // Catch:{ all -> 0x0030 }
-            r1.<init>(r10)     // Catch:{ all -> 0x0030 }
-            java.nio.channels.FileChannel r10 = r1.getChannel()     // Catch:{ all -> 0x0030 }
-            r3 = 0
-            long r5 = r9.size()     // Catch:{ all -> 0x002b }
-            r2 = r9
-            r7 = r10
-            r2.transferTo(r3, r5, r7)     // Catch:{ all -> 0x002b }
-            if (r9 == 0) goto L_0x0025
-            r9.close()     // Catch:{ IOException -> 0x0024 }
-            goto L_0x0025
-        L_0x0024:
-        L_0x0025:
-            if (r10 == 0) goto L_0x002a
-            r10.close()     // Catch:{ IOException -> 0x002a }
-        L_0x002a:
-            return
-        L_0x002b:
-            r0 = move-exception
-            r8 = r0
-            r0 = r9
-            r9 = r8
-            goto L_0x0038
-        L_0x0030:
-            r10 = move-exception
-            r8 = r0
-            r0 = r9
-            r9 = r10
-            r10 = r8
-            goto L_0x0038
-        L_0x0036:
-            r9 = move-exception
-            r10 = r0
-        L_0x0038:
-            if (r0 == 0) goto L_0x003f
-            r0.close()     // Catch:{ IOException -> 0x003e }
-            goto L_0x003f
-        L_0x003e:
-        L_0x003f:
-            if (r10 == 0) goto L_0x0044
-            r10.close()     // Catch:{ IOException -> 0x0044 }
-        L_0x0044:
-            throw r9
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.alt.FileUtils.copy(java.io.File, java.io.File):void");
     }
 }

+ 2 - 81
app/src/main/java/com/epson/cameracopy/device/OpenCvCameraView.java

@@ -45,88 +45,9 @@ public class OpenCvCameraView extends PortraitCameraView implements Camera.Pictu
         return mCamera;
     }
 
-    /* JADX WARNING: Removed duplicated region for block: B:18:0x0037 A[Catch:{ all -> 0x0061 }] */
-    /* JADX WARNING: Removed duplicated region for block: B:20:0x003c A[SYNTHETIC, Splitter:B:20:0x003c] */
-    /* JADX WARNING: Removed duplicated region for block: B:27:0x0052  */
-    /* JADX WARNING: Removed duplicated region for block: B:30:0x0057  */
-    /* JADX WARNING: Removed duplicated region for block: B:35:0x0064 A[SYNTHETIC, Splitter:B:35:0x0064] */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public void onPictureTaken(byte[] r4, android.hardware.Camera r5) {
-        /*
-            r3 = this;
-            android.hardware.Camera r5 = r3.mCamera
-            r5.startPreview()
-            android.hardware.Camera r5 = r3.mCamera
-            r5.setPreviewCallback(r3)
-            r5 = 0
-            r0 = 0
-            java.io.FileOutputStream r1 = new java.io.FileOutputStream     // Catch:{ IOException -> 0x0025, all -> 0x0022 }
-            java.lang.String r2 = r3.mPictureFileName     // Catch:{ IOException -> 0x0025, all -> 0x0022 }
-            r1.<init>(r2)     // Catch:{ IOException -> 0x0025, all -> 0x0022 }
-            r1.write(r4)     // Catch:{ IOException -> 0x0020 }
-            r1.close()     // Catch:{ IOException -> 0x001a }
-            goto L_0x001e
-        L_0x001a:
-            r4 = move-exception
-            r4.printStackTrace()
-        L_0x001e:
-            r4 = 1
-            goto L_0x0045
-        L_0x0020:
-            r4 = move-exception
-            goto L_0x0027
-        L_0x0022:
-            r4 = move-exception
-            r1 = r5
-            goto L_0x0062
-        L_0x0025:
-            r4 = move-exception
-            r1 = r5
-        L_0x0027:
-            r4.printStackTrace()     // Catch:{ all -> 0x0061 }
-            java.io.File r4 = new java.io.File     // Catch:{ all -> 0x0061 }
-            java.lang.String r2 = r3.mPictureFileName     // Catch:{ all -> 0x0061 }
-            r4.<init>(r2)     // Catch:{ all -> 0x0061 }
-            boolean r2 = r4.exists()     // Catch:{ all -> 0x0061 }
-            if (r2 == 0) goto L_0x003a
-            r4.delete()     // Catch:{ all -> 0x0061 }
-        L_0x003a:
-            if (r1 == 0) goto L_0x0044
-            r1.close()     // Catch:{ IOException -> 0x0040 }
-            goto L_0x0044
-        L_0x0040:
-            r4 = move-exception
-            r4.printStackTrace()
-        L_0x0044:
-            r4 = 0
-        L_0x0045:
-            java.io.File r1 = new java.io.File
-            java.lang.String r2 = r3.mPictureFileName
-            r1.<init>(r2)
-            boolean r1 = r1.exists()
-            if (r1 != 0) goto L_0x0053
-            r4 = 0
-        L_0x0053:
-            com.epson.cameracopy.device.OpenCvCameraView$MyPictureTakeCallback r1 = r3.mPictureTakeCallback
-            if (r1 == 0) goto L_0x005e
-            java.lang.String r2 = r3.mPictureFileName
-            r1.onMyPictureTaken(r4, r2)
-            r3.mPictureTakeCallback = r5
-        L_0x005e:
-            r3.mPictureTaking = r0
-            return
-        L_0x0061:
-            r4 = move-exception
-        L_0x0062:
-            if (r1 == 0) goto L_0x006c
-            r1.close()     // Catch:{ IOException -> 0x0068 }
-            goto L_0x006c
-        L_0x0068:
-            r5 = move-exception
-            r5.printStackTrace()
-        L_0x006c:
-            throw r4
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.device.OpenCvCameraView.onPictureTaken(byte[], android.hardware.Camera):void");
     }
 

+ 2 - 95
app/src/main/java/com/epson/cameracopy/device/PortraitCameraView.java

@@ -56,102 +56,9 @@ public class PortraitCameraView extends CameraBridgeViewBase implements Camera.P
         super(context, attributeSet);
     }
 
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Removed duplicated region for block: B:12:0x0024  */
-    /* JADX WARNING: Removed duplicated region for block: B:17:0x002e  */
-    /* JADX WARNING: Removed duplicated region for block: B:30:0x007a  */
-    /* JADX WARNING: Removed duplicated region for block: B:9:0x001a  */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public org.opencv.core.Size calculateCameraFrameSize(java.util.List<?> r19, org.opencv.android.CameraBridgeViewBase.ListItemAccessor r20, int r21, int r22) {
-        /*
-            r18 = this;
-            r7 = r18
-            r8 = r20
-            int r0 = r7.mMaxWidth
-            r1 = -1
-            if (r0 == r1) goto L_0x0013
-            int r0 = r7.mMaxWidth
-            r2 = r21
-            if (r0 >= r2) goto L_0x0015
-            int r0 = r7.mMaxWidth
-            r9 = r0
-            goto L_0x0016
-        L_0x0013:
-            r2 = r21
-        L_0x0015:
-            r9 = r2
-        L_0x0016:
-            int r0 = r7.mMaxHeight
-            if (r0 == r1) goto L_0x0024
-            int r0 = r7.mMaxHeight
-            r1 = r22
-            if (r0 >= r1) goto L_0x0026
-            int r0 = r7.mMaxHeight
-            r10 = r0
-            goto L_0x0027
-        L_0x0024:
-            r1 = r22
-        L_0x0026:
-            r10 = r1
-        L_0x0027:
-            r12 = 0
-        L_0x0028:
-            int r0 = r19.size()
-            if (r12 >= r0) goto L_0x006c
-            r13 = r19
-            java.lang.Object r0 = r13.get(r12)
-            int r1 = r8.getWidth(r0)
-            int r0 = r8.getHeight(r0)
-            r2 = 650(0x28a, float:9.11E-43)
-            if (r1 >= r2) goto L_0x0067
-            r2 = 300(0x12c, float:4.2E-43)
-            if (r1 < r2) goto L_0x0067
-            r2 = 4608683618675807573(0x3ff5555555555555, double:1.3333333333333333)
-            r4 = 4585925428558828667(0x3fa47ae147ae147b, double:0.04)
-            double r14 = (double) r1
-            double r0 = (double) r0
-            double r16 = r14 / r0
-            r22 = r12
-            r11 = r0
-            r0 = r18
-            r1 = r2
-            r3 = r4
-            r5 = r16
-            boolean r0 = r0.isInRange(r1, r3, r5)
-            if (r0 == 0) goto L_0x0069
-            org.opencv.core.Size r0 = new org.opencv.core.Size
-            r0.<init>(r14, r11)
-            return r0
-        L_0x0067:
-            r22 = r12
-        L_0x0069:
-            int r12 = r22 + 1
-            goto L_0x0028
-        L_0x006c:
-            r13 = r19
-            java.util.Iterator r0 = r19.iterator()
-            r1 = 0
-            r2 = 0
-        L_0x0074:
-            boolean r3 = r0.hasNext()
-            if (r3 == 0) goto L_0x0091
-            java.lang.Object r3 = r0.next()
-            int r4 = r8.getWidth(r3)
-            int r3 = r8.getHeight(r3)
-            if (r4 > r9) goto L_0x0074
-            if (r3 > r10) goto L_0x0074
-            if (r4 < r1) goto L_0x0074
-            if (r3 < r2) goto L_0x0074
-            r2 = r3
-            r1 = r4
-            goto L_0x0074
-        L_0x0091:
-            org.opencv.core.Size r0 = new org.opencv.core.Size
-            double r3 = (double) r1
-            double r1 = (double) r2
-            r0.<init>(r3, r1)
-            return r0
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.device.PortraitCameraView.calculateCameraFrameSize(java.util.List, org.opencv.android.CameraBridgeViewBase$ListItemAccessor, int, int):org.opencv.core.Size");
     }
 

+ 3 - 1425
app/src/main/java/com/epson/cameracopy/p006ui/CameraPrintSettingActivity.java

@@ -31,6 +31,7 @@ import epson.print.ActivityIACommon;
 
 import epson.print.EPPrinterManager;
 import epson.print.MyPrinter;
+import epson.print.R;
 import epson.print.Util.EPLog;
 import epson.print.inkrpln.InkRplnRepository;
 import epson.print.screen.PageRangeSetting;
@@ -177,1432 +178,9 @@ public class CameraPrintSettingActivity extends ActivityIACommon implements View
     };
     private IEpsonService mEpsonService = null;
     Handler mHandler = new Handler(new Handler.Callback() {
-        /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r1v4, resolved type: boolean} */
-        /* JADX WARNING: type inference failed for: r1v1 */
-        /* JADX WARNING: type inference failed for: r1v5 */
-        /* JADX WARNING: type inference failed for: r1v14, types: [int] */
-        /* JADX WARNING: type inference failed for: r1v28 */
-        /* JADX WARNING: Multi-variable type inference failed */
-        /* JADX WARNING: Removed duplicated region for block: B:156:0x052e  */
-        /* JADX WARNING: Removed duplicated region for block: B:159:0x054b  */
-        /* JADX WARNING: Removed duplicated region for block: B:163:0x055f  */
-        /* JADX WARNING: Removed duplicated region for block: B:171:0x058c  */
-        /* JADX WARNING: Removed duplicated region for block: B:175:0x05a4 A[LOOP:6: B:173:0x059e->B:175:0x05a4, LOOP_END] */
-        /* Code decompiled incorrectly, please refer to instructions dump. */
+
         public boolean handleMessage(android.os.Message r15) {
-            /*
-                r14 = this;
-                java.lang.String r0 = "SettingScr"
-                java.lang.String r1 = "handleMessage call setScreenState = false"
-                epson.print.Util.EPLog.m313i(r0, r1)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r1 = 0
-                java.lang.Boolean r2 = java.lang.Boolean.valueOf(r1)
-                r0.setScreenState(r2)
-                epson.print.screen.PrintSetting r0 = new epson.print.screen.PrintSetting
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.screen.PrintSetting$Kind r3 = epson.print.screen.PrintSetting.Kind.cameracopy
-                r0.<init>(r2, r3)
-                int r2 = r15.what
-                r3 = 64
-                r4 = 32
-                r5 = 0
-                r6 = 3
-                r7 = 100
-                r9 = 2
-                r10 = 1
-                if (r2 == r4) goto L_0x0b25
-                if (r2 == r3) goto L_0x09cd
-                r3 = 6
-                r11 = 5
-                r12 = 4
-                r13 = 8
-                switch(r2) {
-                    case 0: goto L_0x09b0;
-                    case 1: goto L_0x0801;
-                    case 2: goto L_0x05e8;
-                    case 3: goto L_0x0450;
-                    case 4: goto L_0x033f;
-                    case 5: goto L_0x022c;
-                    case 6: goto L_0x012a;
-                    default: goto L_0x0032;
-                }
-            L_0x0032:
-                switch(r2) {
-                    case 17: goto L_0x00d5;
-                    case 18: goto L_0x0067;
-                    default: goto L_0x0035;
-                }
-            L_0x0035:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "default"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.printerName
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r1 = 2131625174(0x7f0e04d6, float:1.8877549E38)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231128(0x7f080198, float:1.8078328E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                java.lang.Boolean r0 = java.lang.Boolean.valueOf(r10)
-                r15.setScreenState(r0)
-                goto L_0x0c90
-            L_0x0067:
-                int r0 = r15.arg1
-                r2 = -1100(0xfffffffffffffbb4, float:NaN)
-                if (r0 == r2) goto L_0x00b7
-                r2 = -1000(0xfffffffffffffc18, float:NaN)
-                if (r0 == r2) goto L_0x00b7
-                int r15 = r15.arg1
-                java.lang.Integer[] r15 = com.epson.mobilephone.common.escpr.MediaInfo.ErrorTable.getStringId(r15)
-                if (r15 != 0) goto L_0x0093
-                java.lang.Integer[] r15 = new java.lang.Integer[r6]
-                r0 = 2131624506(0x7f0e023a, float:1.8876194E38)
-                java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
-                r15[r1] = r0
-                r0 = 2131624507(0x7f0e023b, float:1.8876196E38)
-                java.lang.Integer r0 = java.lang.Integer.valueOf(r0)
-                r15[r10] = r0
-                java.lang.Integer r0 = java.lang.Integer.valueOf(r10)
-                r15[r9] = r0
-            L_0x0093:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2 = r15[r10]
-                int r2 = r2.intValue()
-                java.lang.CharSequence r2 = r0.getText(r2)
-                java.lang.String r2 = r2.toString()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15 = r15[r1]
-                int r15 = r15.intValue()
-                java.lang.CharSequence r15 = r3.getText(r15)
-                java.lang.String r15 = r15.toString()
-                r0.showErrorDialog(r2, r15)
-                goto L_0x00ce
-            L_0x00b7:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131624778(0x7f0e034a, float:1.8876745E38)
-                java.lang.String r15 = r15.getString(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r1 = 2131624777(0x7f0e0349, float:1.8876743E38)
-                java.lang.String r0 = r0.getString(r1)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r1 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r1.showErrorDialog(r15, r0)
-            L_0x00ce:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.resetSettings()
-                goto L_0x0c90
-            L_0x00d5:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                r0 = 17
-                if (r15 == 0) goto L_0x0121
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                int r15 = r15.printerLocation     // Catch:{ RemoteException -> 0x011b }
-                if (r15 == r9) goto L_0x0112
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                epson.print.service.IEpsonService r15 = r15.mEpsonService     // Catch:{ RemoteException -> 0x011b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r1 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                java.lang.String r1 = r1.printerId     // Catch:{ RemoteException -> 0x011b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                java.lang.String r2 = r2.printerIp     // Catch:{ RemoteException -> 0x011b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                int r3 = r3.printerLocation     // Catch:{ RemoteException -> 0x011b }
-                if (r3 != r6) goto L_0x0102
-                goto L_0x0103
-            L_0x0102:
-                r9 = 1
-            L_0x0103:
-                int r15 = r15.searchPrinters(r1, r2, r9)     // Catch:{ RemoteException -> 0x011b }
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                android.os.Handler r15 = r15.mHandler     // Catch:{ RemoteException -> 0x011b }
-                r15.sendEmptyMessageDelayed(r0, r7)     // Catch:{ RemoteException -> 0x011b }
-                goto L_0x0c90
-            L_0x0112:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x011b }
-                android.os.Handler r15 = r15.mHandler     // Catch:{ RemoteException -> 0x011b }
-                r15.sendEmptyMessage(r1)     // Catch:{ RemoteException -> 0x011b }
-                goto L_0x0c90
-            L_0x011b:
-                r15 = move-exception
-                r15.printStackTrace()
-                goto L_0x0c90
-            L_0x0121:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r0, r7)
-                goto L_0x0c90
-            L_0x012a:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x013b
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r3, r7)
-                goto L_0x0c90
-            L_0x013b:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "GET_COLOR"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.color_info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                epson.print.service.IEpsonService r0 = r0.mEpsonService     // Catch:{ RemoteException -> 0x0174 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                int r2 = r2.printerLocation     // Catch:{ RemoteException -> 0x0174 }
-                if (r2 != r9) goto L_0x0159
-                r2 = 1
-                goto L_0x015a
-            L_0x0159:
-                r2 = 0
-            L_0x015a:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                int r3 = r3.mRemoteSrcType     // Catch:{ RemoteException -> 0x0174 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r5 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                int r5 = r5.sizeIndex     // Catch:{ RemoteException -> 0x0174 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r6 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0174 }
-                int r6 = r6.typeIndex     // Catch:{ RemoteException -> 0x0174 }
-                int[] r0 = r0.getColor(r2, r3, r5, r6)     // Catch:{ RemoteException -> 0x0174 }
-                int[] unused = r15.color_info = r0     // Catch:{ RemoteException -> 0x0174 }
-                goto L_0x017c
-            L_0x0174:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0.undoFlag = r10
-                r15.printStackTrace()
-            L_0x017c:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                if (r15 != 0) goto L_0x0188
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-            L_0x0188:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                if (r15 == 0) goto L_0x0199
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                int r15 = r15.length
-                if (r15 > 0) goto L_0x01b0
-            L_0x0199:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r9]
-                int[] unused = r15.color_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                r15[r1] = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                r15[r10] = r10
-            L_0x01b0:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.color_info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                r15 = 0
-            L_0x01c2:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.color_info
-                int r0 = r0.length
-                if (r15 >= r0) goto L_0x01df
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.color
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.color_info
-                r2 = r2[r15]
-                if (r0 != r2) goto L_0x01dc
-                goto L_0x01df
-            L_0x01dc:
-                int r15 = r15 + 1
-                goto L_0x01c2
-            L_0x01df:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.color_info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x01f3
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.color_info
-                r0 = r0[r1]
-                int unused = r15.color = r0
-            L_0x01f3:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$Color r0 = new com.epson.mobilephone.common.escpr.MediaInfo$Color
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.colorInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.color
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r4)
-                goto L_0x0c90
-            L_0x022c:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x023d
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r11, r7)
-                goto L_0x0c90
-            L_0x023d:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "GET_PAPER_SOURCE"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.paper_source_info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x026b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x026b }
-                epson.print.service.IEpsonService r0 = r0.mEpsonService     // Catch:{ RemoteException -> 0x026b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x026b }
-                int r2 = r2.sizeIndex     // Catch:{ RemoteException -> 0x026b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r4 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x026b }
-                int r4 = r4.typeIndex     // Catch:{ RemoteException -> 0x026b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r5 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x026b }
-                int r5 = r5.printerLocation     // Catch:{ RemoteException -> 0x026b }
-                int[] r0 = r0.getPaperSource(r2, r4, r5)     // Catch:{ RemoteException -> 0x026b }
-                int[] unused = r15.paper_source_info = r0     // Catch:{ RemoteException -> 0x026b }
-                goto L_0x0273
-            L_0x026b:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0.undoFlag = r10
-                r15.printStackTrace()
-            L_0x0273:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                if (r15 != 0) goto L_0x028e
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-                int[] r0 = new int[r10]
-                int[] unused = r15.paper_source_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                r0 = 128(0x80, float:1.794E-43)
-                r15[r1] = r0
-            L_0x028e:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                r15 = 0
-            L_0x02a0:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.paper_source_info
-                int r0 = r0.length
-                if (r15 >= r0) goto L_0x02bd
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.paperSource
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.paper_source_info
-                r2 = r2[r15]
-                if (r0 != r2) goto L_0x02ba
-                goto L_0x02bd
-            L_0x02ba:
-                int r15 = r15 + 1
-                goto L_0x02a0
-            L_0x02bd:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.paper_source_info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x02d1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.paper_source_info
-                r0 = r0[r1]
-                int unused = r15.paperSource = r0
-            L_0x02d1:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.paperSource
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                if (r15 == 0) goto L_0x02f8
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.paper_source_info
-                int r15 = r15.length
-                if (r15 > r10) goto L_0x02f8
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231313(0x7f080251, float:1.8078703E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                r15 = 128(0x80, float:1.794E-43)
-                goto L_0x030c
-            L_0x02f8:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231313(0x7f080251, float:1.8078703E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r1)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.paperSource
-            L_0x030c:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$PaperSource r1 = new com.epson.mobilephone.common.escpr.MediaInfo$PaperSource
-                r1.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r0.mLookupTable = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r0 = r0.paperSourceInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r1 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r2 = r1.mLookupTable
-                int r15 = r2.getStringId(r15)
-                java.lang.String r15 = r1.getString(r15)
-                r0.setText(r15)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r3)
-                goto L_0x0c90
-            L_0x033f:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x0350
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r12, r7)
-                goto L_0x0c90
-            L_0x0350:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "GET_QUALITY"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0378 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0378 }
-                epson.print.service.IEpsonService r0 = r0.mEpsonService     // Catch:{ RemoteException -> 0x0378 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0378 }
-                int r2 = r2.sizeIndex     // Catch:{ RemoteException -> 0x0378 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0378 }
-                int r3 = r3.typeIndex     // Catch:{ RemoteException -> 0x0378 }
-                int[] r0 = r0.getQuality(r2, r3)     // Catch:{ RemoteException -> 0x0378 }
-                int[] unused = r15.info = r0     // Catch:{ RemoteException -> 0x0378 }
-                goto L_0x0380
-            L_0x0378:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0.undoFlag = r10
-                r15.printStackTrace()
-            L_0x0380:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x0399
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-                int[] r0 = new int[r10]
-                int[] unused = r15.info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                r15[r1] = r9
-            L_0x0399:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 > r10) goto L_0x03c2
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231394(0x7f0802a2, float:1.8078868E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                goto L_0x03d0
-            L_0x03c2:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231394(0x7f0802a2, float:1.8078868E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r1)
-            L_0x03d0:
-                r15 = 0
-            L_0x03d1:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 >= r0) goto L_0x03ee
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.quality
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                r2 = r2[r15]
-                if (r0 != r2) goto L_0x03eb
-                goto L_0x03ee
-            L_0x03eb:
-                int r15 = r15 + 1
-                goto L_0x03d1
-            L_0x03ee:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x0402
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                r0 = r0[r1]
-                int unused = r15.quality = r0
-            L_0x0402:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int r0 = r0.length
-                int[] r0 = new int[r0]
-                int[] unused = r15.quality_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int[] unused = r15.quality_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$Quality r0 = new com.epson.mobilephone.common.escpr.MediaInfo$Quality
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.qualityInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.quality
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r11)
-                goto L_0x0c90
-            L_0x0450:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x0461
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r6, r7)
-                goto L_0x0c90
-            L_0x0461:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "GET_LAYOUT"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0489 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0489 }
-                epson.print.service.IEpsonService r0 = r0.mEpsonService     // Catch:{ RemoteException -> 0x0489 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0489 }
-                int r2 = r2.sizeIndex     // Catch:{ RemoteException -> 0x0489 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0489 }
-                int r3 = r3.typeIndex     // Catch:{ RemoteException -> 0x0489 }
-                int[] r0 = r0.getLayout(r2, r3)     // Catch:{ RemoteException -> 0x0489 }
-                int[] unused = r15.info = r0     // Catch:{ RemoteException -> 0x0489 }
-                goto L_0x0491
-            L_0x0489:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0.undoFlag = r10
-                r15.printStackTrace()
-            L_0x0491:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                boolean unused = r15.isDocumentSetting
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x04b2
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x04b2
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r9]
-                r0 = {2, 1} // fill-array
-                int[] unused = r15.info = r0
-            L_0x04b2:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 > r10) goto L_0x04db
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231162(0x7f0801ba, float:1.8078397E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                goto L_0x04e9
-            L_0x04db:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231162(0x7f0801ba, float:1.8078397E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r1)
-            L_0x04e9:
-                r15 = 0
-            L_0x04ea:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 >= r0) goto L_0x0525
-                java.lang.String r0 = "layout info"
-                java.lang.StringBuilder r2 = new java.lang.StringBuilder
-                r2.<init>()
-                java.lang.String r3 = "layout info "
-                r2.append(r3)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r3 = r3.info
-                r3 = r3[r15]
-                r2.append(r3)
-                java.lang.String r2 = r2.toString()
-                epson.print.Util.EPLog.m316v(r0, r2)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.layout
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                r2 = r2[r15]
-                if (r0 != r2) goto L_0x0522
-                goto L_0x0525
-            L_0x0522:
-                int r15 = r15 + 1
-                goto L_0x04ea
-            L_0x0525:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x0539
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                r0 = r0[r1]
-                int unused = r15.layout = r0
-            L_0x0539:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$Layout r0 = new com.epson.mobilephone.common.escpr.MediaInfo$Layout
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.layout
-                if (r15 != r13) goto L_0x0550
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.layout = r9
-            L_0x0550:
-                java.util.ArrayList r15 = new java.util.ArrayList
-                r15.<init>()
-                r0 = 0
-            L_0x0556:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r0 >= r2) goto L_0x057b
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                r2 = r2[r0]
-                if (r2 == r13) goto L_0x0578
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                r2 = r2[r0]
-                java.lang.Integer r2 = java.lang.Integer.valueOf(r2)
-                r15.add(r2)
-            L_0x0578:
-                int r0 = r0 + 1
-                goto L_0x0556
-            L_0x057b:
-                java.lang.Integer r0 = java.lang.Integer.valueOf(r12)
-                boolean r0 = r15.remove(r0)
-                if (r0 == 0) goto L_0x0586
-                goto L_0x057b
-            L_0x0586:
-                int r0 = r15.size()
-                if (r0 != 0) goto L_0x0593
-                java.lang.Integer r0 = java.lang.Integer.valueOf(r9)
-                r15.add(r0)
-            L_0x0593:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r15.size()
-                int[] r2 = new int[r2]
-                int[] unused = r0.layout_info = r2
-            L_0x059e:
-                int r0 = r15.size()
-                if (r1 >= r0) goto L_0x05b9
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.layout_info
-                java.lang.Object r2 = r15.get(r1)
-                java.lang.Integer r2 = (java.lang.Integer) r2
-                int r2 = r2.intValue()
-                r0[r1] = r2
-                int r1 = r1 + 1
-                goto L_0x059e
-            L_0x05b9:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.layoutInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.layout
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r12)
-                goto L_0x0c90
-            L_0x05e8:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x05f9
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r9, r7)
-                goto L_0x0c90
-            L_0x05f9:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r2 = "GET_PAPER_TYPE"
-                epson.print.Util.EPLog.m313i(r15, r2)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x061b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x061b }
-                epson.print.service.IEpsonService r2 = r2.mEpsonService     // Catch:{ RemoteException -> 0x061b }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x061b }
-                int r3 = r3.sizeIndex     // Catch:{ RemoteException -> 0x061b }
-                int[] r2 = r2.getPaperType(r3)     // Catch:{ RemoteException -> 0x061b }
-                int[] unused = r15.info = r2     // Catch:{ RemoteException -> 0x061b }
-                goto L_0x0623
-            L_0x061b:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2.undoFlag = r10
-                r15.printStackTrace()
-            L_0x0623:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r15.info
-                int[] r2 = r14.removeCddvdMedia(r2)
-                int[] unused = r15.info = r2
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x0659
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x0659
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = new int[r9]
-                com.epson.mobilephone.common.PrintingLib.define.Constants$MediaName r3 = com.epson.mobilephone.common.PrintingLib.define.Constants.MediaName.EPS_MTID_PLAIN
-                int r3 = r3.getCode()
-                r2[r1] = r3
-                com.epson.mobilephone.common.PrintingLib.define.Constants$MediaName r3 = com.epson.mobilephone.common.PrintingLib.define.Constants.MediaName.EPS_MTID_PGPHOTO
-                int r3 = r3.getCode()
-                r2[r10] = r3
-                int[] unused = r15.info = r2
-            L_0x0659:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 > r10) goto L_0x0682
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2 = 2131231316(0x7f080254, float:1.807871E38)
-                android.view.View r15 = r15.findViewById(r2)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                goto L_0x0690
-            L_0x0682:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2 = 2131231316(0x7f080254, float:1.807871E38)
-                android.view.View r15 = r15.findViewById(r2)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r1)
-            L_0x0690:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.typeIndex = r1
-            L_0x0695:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r15 >= r2) goto L_0x06c1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.paperType
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r3 = r3.typeIndex
-                r2 = r2[r3]
-                if (r15 != r2) goto L_0x06bb
-                goto L_0x06c1
-            L_0x06bb:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1608(r15)
-                goto L_0x0695
-            L_0x06c1:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r15 < r2) goto L_0x0704
-                int r15 = r0.getDefaultPaperType()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.typeIndex = r1
-            L_0x06d9:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r0 >= r2) goto L_0x0704
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.typeIndex
-                r0 = r0[r2]
-                if (r15 != r0) goto L_0x06fe
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.paperType = r15
-                goto L_0x0704
-            L_0x06fe:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1608(r0)
-                goto L_0x06d9
-            L_0x0704:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x078e
-                com.epson.mobilephone.common.PrintingLib.define.Constants$MediaName r15 = com.epson.mobilephone.common.PrintingLib.define.Constants.MediaName.EPS_MTID_PLAIN1
-                int r15 = r15.getCode()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.typeIndex = r1
-            L_0x071e:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r0 >= r2) goto L_0x0749
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.typeIndex
-                r0 = r0[r2]
-                if (r15 != r0) goto L_0x0743
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.paperType = r15
-                goto L_0x0749
-            L_0x0743:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1608(r0)
-                goto L_0x071e
-            L_0x0749:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x078e
-                com.epson.mobilephone.common.PrintingLib.define.Constants$MediaName r15 = com.epson.mobilephone.common.PrintingLib.define.Constants.MediaName.EPS_MTID_AUTO_PLAIN
-                int r15 = r15.getCode()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.typeIndex = r1
-            L_0x0763:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r0 >= r2) goto L_0x078e
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.typeIndex
-                r0 = r0[r2]
-                if (r15 != r0) goto L_0x0788
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.paperType = r15
-                goto L_0x078e
-            L_0x0788:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1608(r0)
-                goto L_0x0763
-            L_0x078e:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.typeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x07b3
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.typeIndex = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r1 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r1 = r1.typeIndex
-                r0 = r0[r1]
-                int unused = r15.paperType = r0
-            L_0x07b3:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int r0 = r0.length
-                int[] r0 = new int[r0]
-                int[] unused = r15.paper_type_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int[] unused = r15.paper_type_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$PaperType r0 = new com.epson.mobilephone.common.escpr.MediaInfo$PaperType
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.paperTypeInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.paperType
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r6)
-                goto L_0x0c90
-            L_0x0801:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x0812
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r10, r7)
-                goto L_0x0c90
-            L_0x0812:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r2 = "GET_PAPER_SIZE"
-                epson.print.Util.EPLog.m313i(r15, r2)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x082e }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x082e }
-                epson.print.service.IEpsonService r2 = r2.mEpsonService     // Catch:{ RemoteException -> 0x082e }
-                int[] r2 = r2.getPaperSize()     // Catch:{ RemoteException -> 0x082e }
-                int[] unused = r15.info = r2     // Catch:{ RemoteException -> 0x082e }
-                goto L_0x0836
-            L_0x082e:
-                r15 = move-exception
-                r15.printStackTrace()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-            L_0x0836:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 != 0) goto L_0x0892
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.undoFlag = r10
-                r2 = 9
-                int[] r2 = new int[r2]
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_A4
-                int r4 = r4.getCode()
-                r2[r1] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_A3
-                int r4 = r4.getCode()
-                r2[r10] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_B4
-                int r4 = r4.getCode()
-                r2[r9] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_B5
-                int r4 = r4.getCode()
-                r2[r6] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_LETTER
-                int r4 = r4.getCode()
-                r2[r12] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_LEGAL
-                int r4 = r4.getCode()
-                r2[r11] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_POSTCARD
-                int r4 = r4.getCode()
-                r2[r3] = r4
-                r3 = 7
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r4 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_4X6
-                int r4 = r4.getCode()
-                r2[r3] = r4
-                com.epson.mobilephone.common.PrintingLib.define.Constants$PaperName r3 = com.epson.mobilephone.common.PrintingLib.define.Constants.PaperName.EPS_MSID_L
-                int r3 = r3.getCode()
-                r2[r13] = r3
-                int[] unused = r15.info = r2
-            L_0x0892:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                if (r15 == 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c90
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.info
-                int r15 = r15.length
-                if (r15 > r10) goto L_0x08bb
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2 = 2131231309(0x7f08024d, float:1.8078695E38)
-                android.view.View r15 = r15.findViewById(r2)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r13)
-                goto L_0x08c9
-            L_0x08bb:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r2 = 2131231309(0x7f08024d, float:1.8078695E38)
-                android.view.View r15 = r15.findViewById(r2)
-                android.widget.ImageView r15 = (android.widget.ImageView) r15
-                r15.setVisibility(r1)
-            L_0x08c9:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.sizeIndex = r1
-            L_0x08ce:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.sizeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r15 >= r2) goto L_0x08fa
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.paperSize
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r3 = r3.sizeIndex
-                r2 = r2[r3]
-                if (r15 != r2) goto L_0x08f4
-                goto L_0x08fa
-            L_0x08f4:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1108(r15)
-                goto L_0x08ce
-            L_0x08fa:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.sizeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r15 < r2) goto L_0x093d
-                int r15 = r0.getDefaultPaperSize()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.sizeIndex = r1
-            L_0x0912:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.sizeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.info
-                int r2 = r2.length
-                if (r0 >= r2) goto L_0x093d
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.sizeIndex
-                r0 = r0[r2]
-                if (r15 != r0) goto L_0x0937
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r0.paperSize = r15
-                goto L_0x093d
-            L_0x0937:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.cameracopy.p006ui.CameraPrintSettingActivity.access$1108(r0)
-                goto L_0x0912
-            L_0x093d:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r15 = r15.sizeIndex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x0962
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int unused = r15.sizeIndex = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r1 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r1 = r1.sizeIndex
-                r0 = r0[r1]
-                int unused = r15.paperSize = r0
-            L_0x0962:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int r0 = r0.length
-                int[] r0 = new int[r0]
-                int[] unused = r15.paper_size_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.info
-                int[] unused = r15.paper_size_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$PaperSize r0 = new com.epson.mobilephone.common.escpr.MediaInfo$PaperSize
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.paperSizeInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.paperSize
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r9)
-                goto L_0x0c90
-            L_0x09b0:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 == 0) goto L_0x09c4
-                com.epson.cameracopy.ui.CameraPrintSettingActivity$3$1 r15 = new com.epson.cameracopy.ui.CameraPrintSettingActivity$3$1
-                r15.<init>()
-                java.lang.Void[] r0 = new java.lang.Void[r1]
-                r15.execute(r0)
-                goto L_0x0c90
-            L_0x09c4:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r1, r7)
-                goto L_0x0c90
-            L_0x09cd:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0 = 2131231301(0x7f080245, float:1.807868E38)
-                android.view.View r15 = r15.findViewById(r0)
-                android.widget.TextView r15 = (android.widget.TextView) r15
-                java.lang.StringBuilder r0 = new java.lang.StringBuilder
-                r0.<init>()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.startValue
-                r0.append(r2)
-                java.lang.String r2 = ".."
-                r0.append(r2)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.endValue
-                r0.append(r2)
-                java.lang.String r0 = r0.toString()
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$FeedDirection r0 = new com.epson.mobilephone.common.escpr.MediaInfo$FeedDirection
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.feedDirectionInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r2 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r3 = r3.feedDirection
-                int r2 = r2.getStringId(r3)
-                java.lang.String r0 = r0.getString(r2)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$PrintDate r0 = new com.epson.mobilephone.common.escpr.MediaInfo$PrintDate
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.printDateInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r2 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r3 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r3 = r3.printdate
-                int r2 = r2.getStringId(r3)
-                java.lang.String r0 = r0.getString(r2)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.brightness
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.brightnessValue
-                java.lang.String r0 = java.lang.String.valueOf(r0)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.brightnessMinus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.brightnessValue
-                r2 = -50
-                if (r0 == r2) goto L_0x0a80
-                r0 = 1
-                goto L_0x0a81
-            L_0x0a80:
-                r0 = 0
-            L_0x0a81:
-                r15.setEnabled(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.brightnessPlus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.brightnessValue
-                r3 = 50
-                if (r0 == r3) goto L_0x0a96
-                r0 = 1
-                goto L_0x0a97
-            L_0x0a96:
-                r0 = 0
-            L_0x0a97:
-                r15.setEnabled(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.contrast
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.contrastValue
-                java.lang.String r0 = java.lang.String.valueOf(r0)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.contrastMinus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.contrastValue
-                if (r0 == r2) goto L_0x0abd
-                r0 = 1
-                goto L_0x0abe
-            L_0x0abd:
-                r0 = 0
-            L_0x0abe:
-                r15.setEnabled(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.contrastPlus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.contrastValue
-                if (r0 == r3) goto L_0x0ad1
-                r0 = 1
-                goto L_0x0ad2
-            L_0x0ad1:
-                r0 = 0
-            L_0x0ad2:
-                r15.setEnabled(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.saturation
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.saturationValue
-                java.lang.String r0 = java.lang.String.valueOf(r0)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.saturationMinus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.saturationValue
-                if (r0 == r2) goto L_0x0af8
-                r0 = 1
-                goto L_0x0af9
-            L_0x0af8:
-                r0 = 0
-            L_0x0af9:
-                r15.setEnabled(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.Button r15 = r15.saturationPlus
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.saturationValue
-                if (r0 == r3) goto L_0x0b0b
-                r1 = 1
-            L_0x0b0b:
-                r15.setEnabled(r1)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r15.updateSettingView()
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                java.lang.Boolean r0 = java.lang.Boolean.valueOf(r10)
-                r15.setScreenState(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                boolean r0 = r15.undoFlag
-                boolean unused = r15.updateSupportedMediaFile(r0)
-                goto L_0x0c90
-            L_0x0b25:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                epson.print.service.IEpsonService r15 = r15.mEpsonService
-                if (r15 != 0) goto L_0x0b36
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessageDelayed(r4, r7)
-                goto L_0x0c90
-            L_0x0b36:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "GET_DUPLEX"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] unused = r15.duplex_info = r5
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0b59 }
-                epson.print.service.IEpsonService r15 = r15.mEpsonService     // Catch:{ RemoteException -> 0x0b59 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0b59 }
-                int r0 = r0.sizeIndex     // Catch:{ RemoteException -> 0x0b59 }
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this     // Catch:{ RemoteException -> 0x0b59 }
-                int r2 = r2.typeIndex     // Catch:{ RemoteException -> 0x0b59 }
-                int r15 = r15.getDuplex(r0, r2)     // Catch:{ RemoteException -> 0x0b59 }
-                goto L_0x0b62
-            L_0x0b59:
-                r15 = move-exception
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                r0.undoFlag = r10
-                r15.printStackTrace()
-                r15 = 0
-            L_0x0b62:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                java.lang.String r0 = r0.printerId
-                if (r0 != 0) goto L_0x0b99
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.paperType
-                com.epson.mobilephone.common.PrintingLib.define.Constants$MediaName r2 = com.epson.mobilephone.common.PrintingLib.define.Constants.MediaName.EPS_MTID_PLAIN
-                int r2 = r2.getCode()
-                if (r0 != r2) goto L_0x0b99
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r6]
-                int[] unused = r15.duplex_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r1] = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r10] = r10
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r9] = r9
-                goto L_0x0c0f
-            L_0x0b99:
-                if (r15 == 0) goto L_0x0c00
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.paperSource
-                r2 = 16
-                if (r0 == r2) goto L_0x0c00
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.layout
-                if (r0 != r10) goto L_0x0be0
-                r15 = r15 & r9
-                if (r15 == 0) goto L_0x0bd0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r6]
-                int[] unused = r15.duplex_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r1] = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r10] = r10
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r9] = r9
-                goto L_0x0c0f
-            L_0x0bd0:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r10]
-                int[] unused = r15.duplex_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r1] = r1
-                goto L_0x0c0f
-            L_0x0be0:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r6]
-                int[] unused = r15.duplex_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r1] = r1
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r10] = r10
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r9] = r9
-                goto L_0x0c0f
-            L_0x0c00:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = new int[r10]
-                int[] unused = r15.duplex_info = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                r15[r1] = r1
-            L_0x0c0f:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                if (r15 == 0) goto L_0x0c82
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r15 = r15.duplex_info
-                int r15 = r15.length
-                if (r15 <= 0) goto L_0x0c82
-                r15 = 0
-            L_0x0c21:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.duplex_info
-                int r0 = r0.length
-                if (r15 >= r0) goto L_0x0c3e
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r0 = r0.duplex
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r2 = r2.duplex_info
-                r2 = r2[r15]
-                if (r0 != r2) goto L_0x0c3b
-                goto L_0x0c3e
-            L_0x0c3b:
-                int r15 = r15 + 1
-                goto L_0x0c21
-            L_0x0c3e:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r0.duplex_info
-                int r0 = r0.length
-                if (r15 < r0) goto L_0x0c52
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int[] r0 = r15.duplex_info
-                r0 = r0[r1]
-                int unused = r15.duplex = r0
-            L_0x0c52:
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$Duplex r0 = new com.epson.mobilephone.common.escpr.MediaInfo$Duplex
-                r0.<init>()
-                com.epson.mobilephone.common.escpr.MediaInfo.AbstractInfo unused = r15.mLookupTable = r0
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.widget.TextView r15 = r15.duplexInfo
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r0 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r1 = r0.mLookupTable
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r2 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                int r2 = r2.duplex
-                int r1 = r1.getStringId(r2)
-                java.lang.String r0 = r0.getString(r1)
-                r15.setText(r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                com.epson.mobilephone.common.escpr.MediaInfo$AbstractInfo r15 = r15.mLookupTable
-                r15.destructor()
-            L_0x0c82:
-                java.lang.String r15 = "SettingScr"
-                java.lang.String r0 = "get Color setScreenState = true"
-                epson.print.Util.EPLog.m313i(r15, r0)
-                com.epson.cameracopy.ui.CameraPrintSettingActivity r15 = com.epson.cameracopy.p006ui.CameraPrintSettingActivity.this
-                android.os.Handler r15 = r15.mHandler
-                r15.sendEmptyMessage(r3)
-            L_0x0c90:
-                return r10
-            */
+
             throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.p006ui.CameraPrintSettingActivity.C08553.handleMessage(android.os.Message):boolean");
         }
 

+ 4 - 52
app/src/main/java/com/epson/cameracopy/p006ui/PictureResolutionDialogFragment.java

@@ -15,6 +15,8 @@ import com.epson.cameracopy.device.CameraPreviewControl;
 import java.util.Collections;
 import java.util.List;
 
+import epson.print.R;
+
 /* renamed from: com.epson.cameracopy.ui.PictureResolutionDialogFragment */
 public class PictureResolutionDialogFragment extends DialogFragment {
     private static final String KEY_CAMERA_PICTURE_RESOLUTION_MODE = "picture_resolution_mode";
@@ -38,59 +40,9 @@ public class PictureResolutionDialogFragment extends DialogFragment {
         return pictureResolutionDialogFragment;
     }
 
-    /* JADX WARNING: Code restructure failed: missing block: B:2:0x000f, code lost:
-        r7 = r7.getIntArray(KEY_CAMERA_PICTURE_SIZE);
-     */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public android.app.Dialog onCreateDialog(android.os.Bundle r7) {
-        /*
-            r6 = this;
-            android.os.Bundle r7 = r6.getArguments()
-            java.lang.String r0 = "picture_resolution_mode"
-            int r0 = r7.getInt(r0)
-            r1 = 0
-            r2 = 1
-            r3 = 0
-            if (r0 != r2) goto L_0x0025
-            java.lang.String r4 = "picture_size"
-            int[] r7 = r7.getIntArray(r4)
-            if (r7 == 0) goto L_0x0025
-            int r4 = r7.length
-            r5 = 2
-            if (r4 < r5) goto L_0x0025
-            android.graphics.Point r4 = new android.graphics.Point
-            r5 = r7[r1]
-            r7 = r7[r2]
-            r4.<init>(r5, r7)
-            goto L_0x0026
-        L_0x0025:
-            r4 = r3
-        L_0x0026:
-            java.util.List r7 = r6.getPictureSizeList()
-            r6.mSizeList = r7
-            java.util.List<android.graphics.Point> r7 = r6.mSizeList
-            java.lang.CharSequence[] r7 = r6.getPictureSizeStrList(r7)
-            if (r7 != 0) goto L_0x0035
-            return r3
-        L_0x0035:
-            java.util.List<android.graphics.Point> r2 = r6.mSizeList
-            int r0 = r6.getListPoisition(r0, r4, r2)
-            com.epson.cameracopy.ui.PictureResolutionDialogFragment$MyAdapter r2 = new com.epson.cameracopy.ui.PictureResolutionDialogFragment$MyAdapter
-            android.support.v4.app.FragmentActivity r3 = r6.getActivity()
-            r4 = 2131361980(0x7f0a00bc, float:1.8343728E38)
-            r2.<init>(r3, r4, r7, r0)
-            android.app.AlertDialog$Builder r7 = new android.app.AlertDialog$Builder
-            android.support.v4.app.FragmentActivity r3 = r6.getActivity()
-            r7.<init>(r3)
-            r3 = 2131625007(0x7f0e042f, float:1.887721E38)
-            android.app.AlertDialog$Builder r3 = r7.setTitle(r3)
-            com.epson.cameracopy.ui.PictureResolutionDialogFragment$1 r4 = new com.epson.cameracopy.ui.PictureResolutionDialogFragment$1
-            r4.<init>()
-            r3.setSingleChoiceItems(r2, r0, r4)
-            android.app.AlertDialog r7 = r7.create()
-            r7.setCanceledOnTouchOutside(r1)
-            return r7
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.p006ui.PictureResolutionDialogFragment.onCreateDialog(android.os.Bundle):android.app.Dialog");
     }
 

+ 6 - 32
app/src/main/java/com/epson/cameracopy/p006ui/PrintPreviewActivity.java

@@ -29,6 +29,9 @@ import android.widget.ImageButton;
 import android.widget.ImageView;
 import android.widget.TextView;
 import android.widget.Toast;
+
+import androidx.annotation.Nullable;
+
 import com.epson.cameracopy.printlayout.ImageAndLayout;
 import com.epson.cameracopy.printlayout.ManuscriptSize;
 import com.epson.cameracopy.printlayout.PreviewView;
@@ -47,6 +50,7 @@ import epson.print.CommonDefine;
 import epson.print.EPImage;
 import epson.print.EPImageList;
 import epson.print.MyPrinter;
+import epson.print.R;
 import epson.print.Util.AsyncTaskExecutor;
 import epson.print.Util.EPLog;
 import epson.print.screen.PaperSourceInfo;
@@ -415,39 +419,9 @@ public class PrintPreviewActivity extends ActivityIACommon implements CommonDefi
         printButton.setEnabled(false);
     }
 
-    /* JADX WARNING: Code restructure failed: missing block: B:6:0x0014, code lost:
-        r0 = (r0 = getSharedPreferences("PrintSetting", 0)).getString(epson.common.Constants.PRINTER_NAME, getString(epson.print.R.string.str_lbl_title_scan));
-     */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     private boolean isPrinterChanged() {
-        /*
-            r5 = this;
-            boolean r0 = r5.isRemotePrinter()
-            boolean r1 = r5.mIsRemotePrinter
-            r2 = 1
-            if (r1 == r0) goto L_0x000a
-            return r2
-        L_0x000a:
-            java.lang.String r0 = "PrintSetting"
-            r1 = 0
-            android.content.SharedPreferences r0 = r5.getSharedPreferences(r0, r1)
-            if (r0 != 0) goto L_0x0014
-            return r2
-        L_0x0014:
-            java.lang.String r3 = "PRINTER_NAME"
-            r4 = 2131625174(0x7f0e04d6, float:1.8877549E38)
-            java.lang.String r4 = r5.getString(r4)
-            java.lang.String r0 = r0.getString(r3, r4)
-            if (r0 != 0) goto L_0x0024
-            return r2
-        L_0x0024:
-            java.lang.String r3 = r5.currentPrinterName
-            boolean r0 = r3.equalsIgnoreCase(r0)
-            if (r0 != 0) goto L_0x002d
-            return r2
-        L_0x002d:
-            return r1
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: com.epson.cameracopy.p006ui.PrintPreviewActivity.isPrinterChanged():boolean");
     }
 

+ 4 - 428
app/src/main/java/epson/print/ActivityDocsPrintPreview.java

@@ -25,7 +25,6 @@ import android.os.IBinder;
 import android.os.Message;
 import android.os.RemoteException;
 import android.preference.PreferenceManager;
-
 import android.support.p000v4.app.FragmentActivity;
 import android.view.Display;
 import android.view.KeyEvent;
@@ -44,6 +43,8 @@ import android.widget.RelativeLayout;
 import android.widget.TextView;
 import android.widget.Toast;
 
+import androidx.annotation.Nullable;
+
 import com.box.androidsdk.content.models.BoxFile;
 import com.epson.iprint.prtlogger.NewLoggerController;
 import com.epson.iprint.prtlogger.PrintLog;
@@ -1440,322 +1441,8 @@ public class ActivityDocsPrintPreview extends ActivityIACommon implements Common
             }
         }
 
-        /* access modifiers changed from: protected */
-        /* JADX WARNING: Code restructure failed: missing block: B:46:0x012f, code lost:
-            if (r5[0] != 2) goto L_0x0133;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:47:0x0133, code lost:
-            r0 = r9;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:51:0x013d, code lost:
-            throw new java.lang.Exception();
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:62:0x014a, code lost:
-            r0 = th;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:66:0x0152, code lost:
-            r2 = r7;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:68:0x0154, code lost:
-            r0 = e;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:69:0x0156, code lost:
-            r0 = e;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:75:0x0164, code lost:
-            r2 = r0;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:89:0x017b, code lost:
-            r0 = new android.os.Message();
-            r0.what = 39;
-            r0.arg1 = r2;
-            r1.this$0.mUiHandler.sendMessage(r0);
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:90:0x018e, code lost:
-            r0 = e;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:91:0x018f, code lost:
-            r6 = false;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:92:0x0190, code lost:
-            r0.printStackTrace();
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:93:0x0194, code lost:
-            r0 = e;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:94:0x0195, code lost:
-            r6 = false;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:95:0x0196, code lost:
-            r0.printStackTrace();
-         */
-        /* JADX WARNING: Failed to process nested try/catch */
-        /* JADX WARNING: Removed duplicated region for block: B:104:0x01b8  */
-        /* JADX WARNING: Removed duplicated region for block: B:109:0x01cb  */
-        /* JADX WARNING: Removed duplicated region for block: B:119:? A[RETURN, SYNTHETIC] */
-        /* JADX WARNING: Removed duplicated region for block: B:68:0x0154 A[ExcHandler: RemoteException (e android.os.RemoteException), PHI: r6 
-  PHI: (r6v11 boolean) = (r6v9 boolean), (r6v9 boolean), (r6v9 boolean), (r6v9 boolean), (r6v14 boolean), (r6v14 boolean) binds: [B:14:0x0072, B:63:0x014c, B:59:0x0147, B:60:?, B:44:0x012d, B:45:?] A[DONT_GENERATE, DONT_INLINE], Splitter:B:14:0x0072] */
-        /* JADX WARNING: Removed duplicated region for block: B:69:0x0156 A[ExcHandler: InterruptedException (e java.lang.InterruptedException), PHI: r6 
-  PHI: (r6v10 boolean) = (r6v9 boolean), (r6v9 boolean), (r6v9 boolean), (r6v9 boolean), (r6v14 boolean), (r6v14 boolean) binds: [B:14:0x0072, B:63:0x014c, B:59:0x0147, B:60:?, B:44:0x012d, B:45:?] A[DONT_GENERATE, DONT_INLINE], Splitter:B:14:0x0072] */
-        /* JADX WARNING: Removed duplicated region for block: B:89:0x017b  */
-        /* JADX WARNING: Removed duplicated region for block: B:90:0x018e A[ExcHandler: RemoteException (e android.os.RemoteException), Splitter:B:1:0x0003] */
-        /* JADX WARNING: Removed duplicated region for block: B:93:0x0194 A[ExcHandler: InterruptedException (e java.lang.InterruptedException), Splitter:B:1:0x0003] */
-        /* JADX WARNING: Removed duplicated region for block: B:98:0x019f  */
-        /* Code decompiled incorrectly, please refer to instructions dump. */
         public Void doInBackground(String... r22) {
-            /*
-                r21 = this;
-                r1 = r21
-                r2 = 0
-                epson.print.screen.PrintSetting r0 = new epson.print.screen.PrintSetting     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                epson.print.ActivityDocsPrintPreview r3 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                epson.print.screen.PrintSetting$Kind r4 = epson.print.screen.PrintSetting.Kind.document     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r0.<init>(r3, r4)     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r0.loadSettings()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r8 = r0.paperSizeValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r9 = r0.paperTypeValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r10 = r0.layoutValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r11 = r0.qualityValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r12 = r0.paperSourceValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r13 = r0.colorValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r14 = r0.brightnessValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r15 = r0.contrastValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r3 = r0.saturationValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r4 = r0.duplexValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                int r0 = r0.feedDirectionValue     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r6 = 1
-                r19 = 1403(0x57b, float:1.966E-42)
-                r20 = 1403(0x57b, float:1.966E-42)
-                epson.print.ActivityDocsPrintPreview r5 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                epson.print.service.IEpsonService r5 = r5.mEpsonService     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r5.EpsonConnectEndJob()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                epson.print.ActivityDocsPrintPreview r5 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r7 = r22[r2]     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                boolean r5 = r5.checkJobNameLength(r7)     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                if (r5 == 0) goto L_0x016c
-                epson.print.ActivityDocsPrintPreview r5 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                epson.print.service.IEpsonService r5 = r5.mEpsonService     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r7 = r22[r2]     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                r16 = r3
-                r17 = r0
-                r18 = r4
-                int r0 = r5.EpsonConnectCreateJob(r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20)     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0174 }
-                if (r0 != 0) goto L_0x0166
-                epson.print.ActivityDocsPrintPreview r3 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r4 = 1
-                r3.isCreateJobDone = r4     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                boolean r3 = r21.isCancelled()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                if (r3 != 0) goto L_0x015e
-                epson.print.ActivityDocsPrintPreview r3 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                epson.print.service.IEpsonService r3 = r3.mEpsonService     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r5 = r22[r2]     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                int r0 = r3.EpsonConnectUploadFile(r5, r4)     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                if (r0 != 0) goto L_0x0158
-                r3 = 2
-                int[] r5 = new int[r3]     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r7 = r0
-                r0 = 0
-                r6 = 0
-            L_0x0070:
-                r8 = 5000(0x1388, double:2.4703E-320)
-                java.lang.Thread.sleep(r8)     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                boolean r8 = r21.isCancelled()     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                if (r8 == r4) goto L_0x014c
-                java.lang.Object r8 = epson.print.ActivityDocsPrintPreview.mConnect     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                monitor-enter(r8)     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                epson.print.ActivityDocsPrintPreview r9 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                epson.print.service.IEpsonService r9 = r9.mEpsonService     // Catch:{ all -> 0x0144 }
-                int r7 = r9.EpsonConnectGetRenderingStatus(r5)     // Catch:{ all -> 0x0144 }
-                if (r7 != 0) goto L_0x013e
-                r9 = r5[r2]     // Catch:{ all -> 0x0144 }
-                if (r9 == 0) goto L_0x0136
-                r9 = r5[r2]     // Catch:{ all -> 0x0144 }
-                r10 = 4
-                if (r9 == r10) goto L_0x0136
-                r9 = r5[r4]     // Catch:{ all -> 0x0144 }
-                if (r0 != r9) goto L_0x009b
-                monitor-exit(r8)     // Catch:{ all -> 0x0144 }
-                goto L_0x0070
-            L_0x009b:
-                if (r6 != 0) goto L_0x0122
-                if (r9 < r4) goto L_0x0122
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                int unused = r0.mCurrentPageView = r4     // Catch:{ all -> 0x0144 }
-                java.io.File r0 = new java.io.File     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview r10 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                epson.common.ExternalFileUtils r10 = epson.common.ExternalFileUtils.getInstance(r10)     // Catch:{ all -> 0x0144 }
-                java.lang.String r10 = r10.getTempViewDir()     // Catch:{ all -> 0x0144 }
-                java.lang.StringBuilder r11 = new java.lang.StringBuilder     // Catch:{ all -> 0x0144 }
-                r11.<init>()     // Catch:{ all -> 0x0144 }
-                java.lang.String r12 = "preview_"
-                r11.append(r12)     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview r12 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                int r12 = r12.mCurrentPageView     // Catch:{ all -> 0x0144 }
-                r11.append(r12)     // Catch:{ all -> 0x0144 }
-                java.lang.String r12 = ".jpg"
-                r11.append(r12)     // Catch:{ all -> 0x0144 }
-                java.lang.String r11 = r11.toString()     // Catch:{ all -> 0x0144 }
-                r0.<init>(r10, r11)     // Catch:{ all -> 0x0144 }
-                java.lang.String r0 = r0.getPath()     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview r10 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                epson.print.service.IEpsonService r10 = r10.mEpsonService     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview r11 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                int r11 = r11.mCurrentPageView     // Catch:{ all -> 0x0144 }
-                int r7 = r10.EpsonConnectGetPreview(r11, r0)     // Catch:{ all -> 0x0144 }
-                if (r7 != 0) goto L_0x011c
-                epson.print.ActivityDocsPrintPreview r10 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                epson.print.EPImageList r10 = r10.mRemotePreviewImageList     // Catch:{ all -> 0x0144 }
-                r10.add((java.lang.String) r0)     // Catch:{ all -> 0x0144 }
-                android.os.Message r10 = new android.os.Message     // Catch:{ all -> 0x0144 }
-                r10.<init>()     // Catch:{ all -> 0x0144 }
-                r11 = 31
-                r10.what = r11     // Catch:{ all -> 0x0144 }
-                r10.obj = r0     // Catch:{ all -> 0x0144 }
-                android.os.Bundle r0 = r10.getData()     // Catch:{ all -> 0x0144 }
-                java.lang.String r11 = "CONVERTED_PAGE"
-                r0.putInt(r11, r4)     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                android.os.Handler r0 = r0.mUiHandler     // Catch:{ all -> 0x0144 }
-                r0.sendMessage(r10)     // Catch:{ all -> 0x0144 }
-                epson.print.ActivityDocsPrintPreview$CustomProDialog r0 = r1.serverConnectDialog     // Catch:{ all -> 0x0144 }
-                if (r0 == 0) goto L_0x011a
-                epson.print.ActivityDocsPrintPreview$CustomProDialog r0 = r1.serverConnectDialog     // Catch:{ all -> 0x0144 }
-                boolean r0 = r0.isShowing()     // Catch:{ all -> 0x0144 }
-                if (r0 == 0) goto L_0x011a
-                epson.print.ActivityDocsPrintPreview$CustomProDialog r0 = r1.serverConnectDialog     // Catch:{ all -> 0x0144 }
-                r0.dismiss()     // Catch:{ all -> 0x0144 }
-            L_0x011a:
-                r6 = 1
-                goto L_0x0122
-            L_0x011c:
-                java.lang.Exception r0 = new java.lang.Exception     // Catch:{ all -> 0x0144 }
-                r0.<init>()     // Catch:{ all -> 0x0144 }
-                throw r0     // Catch:{ all -> 0x0144 }
-            L_0x0122:
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x0144 }
-                int unused = r0.mEndPageView = r9     // Catch:{ all -> 0x0144 }
-                java.lang.Void[] r0 = new java.lang.Void[r2]     // Catch:{ all -> 0x0144 }
-                r1.publishProgress(r0)     // Catch:{ all -> 0x0144 }
-                monitor-exit(r8)     // Catch:{ all -> 0x0144 }
-                r0 = r5[r2]     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                if (r0 != r3) goto L_0x0133
-                goto L_0x0199
-            L_0x0133:
-                r0 = r9
-                goto L_0x0070
-            L_0x0136:
-                r2 = -1056(0xfffffffffffffbe0, float:NaN)
-                java.lang.Exception r0 = new java.lang.Exception     // Catch:{ all -> 0x014a }
-                r0.<init>()     // Catch:{ all -> 0x014a }
-                throw r0     // Catch:{ all -> 0x014a }
-            L_0x013e:
-                java.lang.Exception r0 = new java.lang.Exception     // Catch:{ all -> 0x0144 }
-                r0.<init>()     // Catch:{ all -> 0x0144 }
-                throw r0     // Catch:{ all -> 0x0144 }
-            L_0x0144:
-                r0 = move-exception
-                r2 = r7
-            L_0x0146:
-                monitor-exit(r8)     // Catch:{ all -> 0x014a }
-                throw r0     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0148 }
-            L_0x0148:
-                goto L_0x0175
-            L_0x014a:
-                r0 = move-exception
-                goto L_0x0146
-            L_0x014c:
-                java.lang.InterruptedException r0 = new java.lang.InterruptedException     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                r0.<init>()     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-                throw r0     // Catch:{ InterruptedException -> 0x0156, RemoteException -> 0x0154, Exception -> 0x0152 }
-            L_0x0152:
-                r2 = r7
-                goto L_0x0175
-            L_0x0154:
-                r0 = move-exception
-                goto L_0x0190
-            L_0x0156:
-                r0 = move-exception
-                goto L_0x0196
-            L_0x0158:
-                java.lang.Exception r3 = new java.lang.Exception     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r3.<init>()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                throw r3     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-            L_0x015e:
-                java.lang.InterruptedException r3 = new java.lang.InterruptedException     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r3.<init>()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                throw r3     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-            L_0x0164:
-                r2 = r0
-                goto L_0x0174
-            L_0x0166:
-                java.lang.Exception r3 = new java.lang.Exception     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                r3.<init>()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-                throw r3     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0164 }
-            L_0x016c:
-                r0 = -1
-                java.lang.Exception r3 = new java.lang.Exception     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0173 }
-                r3.<init>()     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0173 }
-                throw r3     // Catch:{ InterruptedException -> 0x0194, RemoteException -> 0x018e, Exception -> 0x0173 }
-            L_0x0173:
-                r2 = -1
-            L_0x0174:
-                r6 = 0
-            L_0x0175:
-                boolean r0 = r21.isCancelled()
-                if (r0 != 0) goto L_0x0199
-                android.os.Message r0 = new android.os.Message
-                r0.<init>()
-                r3 = 39
-                r0.what = r3
-                r0.arg1 = r2
-                epson.print.ActivityDocsPrintPreview r2 = epson.print.ActivityDocsPrintPreview.this
-                android.os.Handler r2 = r2.mUiHandler
-                r2.sendMessage(r0)
-                goto L_0x0199
-            L_0x018e:
-                r0 = move-exception
-                r6 = 0
-            L_0x0190:
-                r0.printStackTrace()
-                goto L_0x0199
-            L_0x0194:
-                r0 = move-exception
-                r6 = 0
-            L_0x0196:
-                r0.printStackTrace()
-            L_0x0199:
-                boolean r0 = r21.isCancelled()
-                if (r0 == 0) goto L_0x01b8
-                if (r6 != 0) goto L_0x01c1
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x01ab }
-                epson.print.service.IEpsonService r0 = r0.mEpsonService     // Catch:{ RemoteException -> 0x01ab }
-                r0.EpsonConnectCancel()     // Catch:{ RemoteException -> 0x01ab }
-                goto L_0x01af
-            L_0x01ab:
-                r0 = move-exception
-                r0.printStackTrace()
-            L_0x01af:
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this
-                android.os.Handler r0 = r0.mUiHandler
-                r2 = 7
-                r0.sendEmptyMessage(r2)
-                goto L_0x01c1
-            L_0x01b8:
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this
-                android.os.Handler r0 = r0.mUiHandler
-                r2 = 32
-                r0.sendEmptyMessage(r2)
-            L_0x01c1:
-                epson.print.ActivityDocsPrintPreview$CustomProDialog r0 = r1.serverConnectDialog
-                if (r0 == 0) goto L_0x01d0
-                boolean r0 = r0.isShowing()
-                if (r0 == 0) goto L_0x01d0
-                epson.print.ActivityDocsPrintPreview$CustomProDialog r0 = r1.serverConnectDialog
-                r0.dismiss()
-            L_0x01d0:
-                r0 = 0
-                return r0
-            */
+
             throw new UnsupportedOperationException("Method not decompiled: epson.print.ActivityDocsPrintPreview.LoadRemotePreviewTask.doInBackground(java.lang.String[]):java.lang.Void");
         }
 
@@ -1783,119 +1470,8 @@ public class ActivityDocsPrintPreview extends ActivityIACommon implements Common
         private LoadRemotePreviewNext() {
         }
 
-        /* access modifiers changed from: protected */
-        /* JADX WARNING: Code restructure failed: missing block: B:19:0x00a0, code lost:
-            r5 = 0;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:25:0x00b5, code lost:
-            r0 = move-exception;
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:26:0x00b6, code lost:
-            r0.printStackTrace();
-         */
-        /* JADX WARNING: Code restructure failed: missing block: B:28:0x00ba, code lost:
-            return null;
-         */
-        /* JADX WARNING: Failed to process nested try/catch */
-        /* JADX WARNING: Missing exception handler attribute for start block: B:21:0x00a1 */
-        /* JADX WARNING: Removed duplicated region for block: B:25:0x00b5 A[Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }, ExcHandler: RemoteException (r0v6 'e' android.os.RemoteException A[CUSTOM_DECLARE, Catch:{  }]), Splitter:B:5:0x0017] */
-        /* Code decompiled incorrectly, please refer to instructions dump. */
+
         public Void doInBackground(Void... r10) {
-            /*
-                r9 = this;
-                java.lang.Object r10 = epson.print.ActivityDocsPrintPreview.mConnect
-                monitor-enter(r10)
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x00bb }
-                android.os.Handler r0 = r0.mUiHandler     // Catch:{ all -> 0x00bb }
-                r1 = 4
-                r0.sendEmptyMessage(r1)     // Catch:{ all -> 0x00bb }
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x00bb }
-                int r0 = r0.mCurrentPageView     // Catch:{ all -> 0x00bb }
-                r1 = 1
-                int r0 = r0 + r1
-                r2 = 0
-                r3 = 0
-                java.io.File r4 = new java.io.File     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                epson.print.ActivityDocsPrintPreview r5 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                epson.common.ExternalFileUtils r5 = epson.common.ExternalFileUtils.getInstance(r5)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.String r5 = r5.getTempViewDir()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.StringBuilder r6 = new java.lang.StringBuilder     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                r6.<init>()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.String r7 = "preview_"
-                r6.append(r7)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                r6.append(r0)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.String r7 = ".jpg"
-                r6.append(r7)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.String r6 = r6.toString()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                r4.<init>(r5, r6)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                java.lang.String r4 = r4.getPath()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                epson.print.ActivityDocsPrintPreview r5 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                epson.print.service.IEpsonService r5 = r5.mEpsonService     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                int r5 = r5.EpsonConnectGetPreview(r0, r4)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a0 }
-                if (r5 != 0) goto L_0x009a
-                epson.print.ActivityDocsPrintPreview r6 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                epson.print.EPImageList r6 = r6.mRemotePreviewImageList     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r6.add((java.lang.String) r4)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r6 = 2
-                int[] r7 = new int[r6]     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                epson.print.ActivityDocsPrintPreview r8 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                epson.print.service.IEpsonService r8 = r8.mEpsonService     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                int r5 = r8.EpsonConnectGetRenderingStatus(r7)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                if (r5 != 0) goto L_0x0094
-                epson.print.ActivityDocsPrintPreview r8 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r1 = r7[r1]     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                int unused = r8.mEndPageView = r1     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r1 = r7[r3]     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                if (r1 != r6) goto L_0x0078
-                epson.print.ActivityDocsPrintPreview r1 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                android.os.Handler r1 = r1.mUiHandler     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r3 = 32
-                r1.sendEmptyMessage(r3)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-            L_0x0078:
-                android.os.Message r1 = new android.os.Message     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r1.<init>()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r3 = 31
-                r1.what = r3     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                android.os.Bundle r3 = r1.getData()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                java.lang.String r6 = "CONVERTED_PAGE"
-                r3.putInt(r6, r0)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r1.obj = r4     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                epson.print.ActivityDocsPrintPreview r0 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                android.os.Handler r0 = r0.mUiHandler     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r0.sendMessage(r1)     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                goto L_0x00b9
-            L_0x0094:
-                java.lang.Exception r0 = new java.lang.Exception     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r0.<init>()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                throw r0     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-            L_0x009a:
-                java.lang.Exception r0 = new java.lang.Exception     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                r0.<init>()     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-                throw r0     // Catch:{ RemoteException -> 0x00b5, Exception -> 0x00a1 }
-            L_0x00a0:
-                r5 = 0
-            L_0x00a1:
-                android.os.Message r0 = new android.os.Message     // Catch:{ all -> 0x00bb }
-                r0.<init>()     // Catch:{ all -> 0x00bb }
-                r1 = 39
-                r0.what = r1     // Catch:{ all -> 0x00bb }
-                r0.arg1 = r5     // Catch:{ all -> 0x00bb }
-                epson.print.ActivityDocsPrintPreview r1 = epson.print.ActivityDocsPrintPreview.this     // Catch:{ all -> 0x00bb }
-                android.os.Handler r1 = r1.mUiHandler     // Catch:{ all -> 0x00bb }
-                r1.sendMessage(r0)     // Catch:{ all -> 0x00bb }
-                monitor-exit(r10)     // Catch:{ all -> 0x00bb }
-                return r2
-            L_0x00b5:
-                r0 = move-exception
-                r0.printStackTrace()     // Catch:{ all -> 0x00bb }
-            L_0x00b9:
-                monitor-exit(r10)     // Catch:{ all -> 0x00bb }
-                return r2
-            L_0x00bb:
-                r0 = move-exception
-                monitor-exit(r10)     // Catch:{ all -> 0x00bb }
-                throw r0
-            */
             throw new UnsupportedOperationException("Method not decompiled: epson.print.ActivityDocsPrintPreview.LoadRemotePreviewNext.doInBackground(java.lang.Void[]):java.lang.Void");
         }
     }

+ 5 - 204
app/src/main/java/epson/scan/activity/ScanSearchActivity.java

@@ -22,6 +22,9 @@ import android.widget.ListView;
 import android.widget.ProgressBar;
 import android.widget.RadioButton;
 import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+
 import com.epson.mobilephone.common.wifidirect.ActivityWiFiDirectStart;
 import com.epson.mobilephone.common.wifidirect.ActivityiPrintConnect;
 import com.epson.mobilephone.common.wifidirect.MacAddrUtils;
@@ -100,211 +103,9 @@ public class ScanSearchActivity extends ActivityIACommon implements CustomTitleD
     private FindScannerTask mFindScannerTask;
     private GetScannerCapabilityAndFinishTask mGetScannerCapabilityAndFinishTask;
     private Handler mHandler = new Handler(new Handler.Callback() {
-        /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r7v24, resolved type: java.lang.Object} */
-        /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v30, resolved type: epson.print.MyPrinter} */
-        /* JADX WARNING: Multi-variable type inference failed */
-        /* Code decompiled incorrectly, please refer to instructions dump. */
+
         public boolean handleMessage(android.os.Message r7) {
-            /*
-                r6 = this;
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                boolean r0 = r0.isFinishing()
-                r1 = 1
-                r2 = 0
-                if (r0 != 0) goto L_0x0012
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                boolean r0 = r0.mActivityBackRequested
-                if (r0 == 0) goto L_0x001d
-            L_0x0012:
-                int r0 = r7.what
-                if (r0 == r1) goto L_0x0183
-                r3 = 8
-                if (r0 == r3) goto L_0x0183
-                switch(r0) {
-                    case 5: goto L_0x0183;
-                    case 6: goto L_0x0183;
-                    default: goto L_0x001d;
-                }
-            L_0x001d:
-                int r0 = r7.what
-                r3 = -1
-                switch(r0) {
-                    case 1: goto L_0x017d;
-                    case 2: goto L_0x0023;
-                    case 3: goto L_0x0023;
-                    case 4: goto L_0x0023;
-                    case 5: goto L_0x0172;
-                    case 6: goto L_0x012f;
-                    case 7: goto L_0x0023;
-                    case 8: goto L_0x00de;
-                    case 9: goto L_0x008a;
-                    case 10: goto L_0x0044;
-                    case 11: goto L_0x0023;
-                    case 12: goto L_0x0025;
-                    default: goto L_0x0023;
-                }
-            L_0x0023:
-                goto L_0x0182
-            L_0x0025:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                android.os.Handler r0 = r7.mHandler
-                r1 = 6
-                r3 = 60
-                com.epson.mobilephone.common.wifidirect.SearchWiFiDirectPrinterTask r0 = com.epson.mobilephone.common.wifidirect.WiFiDirectManager.searchWiFiDirectPrinter(r7, r0, r1, r3)
-                com.epson.mobilephone.common.wifidirect.SearchWiFiDirectPrinterTask unused = r7.searchWiFiDirectPrinter = r0
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                com.epson.mobilephone.common.wifidirect.SearchWiFiDirectPrinterTask r7 = r7.searchWiFiDirectPrinter
-                if (r7 != 0) goto L_0x0182
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                boolean unused = r7.isSearchSimpleAp = r2
-                goto L_0x0182
-            L_0x0044:
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                r0.interruptSearch()
-                r0 = 0
-                java.lang.Object r1 = r7.obj
-                if (r1 == 0) goto L_0x0053
-                java.lang.Object r7 = r7.obj
-                r0 = r7
-                epson.print.MyPrinter r0 = (epson.print.MyPrinter) r0
-            L_0x0053:
-                android.content.Intent r7 = new android.content.Intent
-                epson.scan.activity.ScanSearchActivity r1 = epson.scan.activity.ScanSearchActivity.this
-                java.lang.Class<epson.print.screen.ActivityIpPrinterSetting> r4 = epson.print.screen.ActivityIpPrinterSetting.class
-                r7.<init>(r1, r4)
-                android.os.Bundle r1 = new android.os.Bundle
-                r1.<init>()
-                if (r0 == 0) goto L_0x0073
-                java.lang.String r4 = r0.getPrinterId()
-                if (r4 == 0) goto L_0x0073
-                java.lang.String r4 = "PRINTER_KEY"
-                java.lang.String r0 = r0.getPrinterId()
-                r1.putString(r4, r0)
-                goto L_0x007a
-            L_0x0073:
-                java.lang.String r0 = "PRINTER_KEY"
-                java.lang.String r4 = ""
-                r1.putString(r0, r4)
-            L_0x007a:
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                r0.mDeletePos = r3
-                r7.putExtras(r1)
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                r1 = 10
-                r0.startActivityForResult(r7, r1)
-                goto L_0x0182
-            L_0x008a:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                int r7 = r7.mDeletePos
-                if (r7 < 0) goto L_0x0182
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                int r7 = r7.scanner_location
-                r0 = 3
-                if (r7 == r0) goto L_0x009a
-                goto L_0x00d8
-            L_0x009a:
-                epson.print.EPPrinterManager r7 = new epson.print.EPPrinterManager
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                android.content.Context r0 = r0.mContext
-                r7.<init>(r0)
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                epson.scan.activity.ScannerListAdapter r0 = r0.mBuilder
-                java.util.Vector r0 = r0.getData()
-                epson.scan.activity.ScanSearchActivity r1 = epson.scan.activity.ScanSearchActivity.this
-                int r1 = r1.mDeletePos
-                java.lang.Object r0 = r0.elementAt(r1)
-                epson.print.MyPrinter r0 = (epson.print.MyPrinter) r0
-                java.lang.String r0 = r0.getPrinterId()
-                r7.deleteIpPrinterInfo(r0)
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                epson.scan.activity.ScannerListAdapter r7 = r7.mBuilder
-                android.widget.BaseAdapter r7 = r7.getAdapter()
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                epson.scan.activity.ScannerListAdapter r0 = r0.mBuilder
-                java.util.Vector r0 = r0.getData()
-                epson.scan.activity.ScanSearchActivity r1 = epson.scan.activity.ScanSearchActivity.this
-                int r1 = r1.mDeletePos
-                r0.remove(r1)
-                r7.notifyDataSetChanged()
-            L_0x00d8:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                r7.mDeletePos = r3
-                goto L_0x0182
-            L_0x00de:
-                epson.scan.activity.ScanSearchActivity r0 = epson.scan.activity.ScanSearchActivity.this
-                int r0 = r0.scanner_location
-                if (r0 == r1) goto L_0x00e8
-                goto L_0x0182
-            L_0x00e8:
-                android.os.Bundle r7 = r7.getData()
-                java.lang.String r0 = "name"
-                java.lang.String r0 = r7.getString(r0)
-                if (r0 == 0) goto L_0x0182
-                epson.print.MyPrinter r0 = new epson.print.MyPrinter
-                java.lang.String r1 = "name"
-                java.lang.String r1 = r7.getString(r1)
-                java.lang.String r3 = "ip"
-                java.lang.String r3 = r7.getString(r3)
-                java.lang.String r4 = ""
-                java.lang.String r5 = ""
-                r0.<init>(r1, r3, r4, r5)
-                java.lang.String r1 = "id"
-                java.lang.String r1 = r7.getString(r1)
-                r0.setScannerId(r1)
-                java.lang.String r1 = "commonDeviceName"
-                java.lang.String r7 = r7.getString(r1)
-                r0.setCommonDeviceName(r7)
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                com.epson.mobilephone.common.wifidirect.WiFiDirectPrinterListUtils r7 = r7.wiFiDirectPrinterListUtils
-                java.lang.String r1 = r0.getIp()
-                java.lang.String r3 = r0.getScannerId()
-                java.lang.String r3 = com.epson.mobilephone.common.wifidirect.MacAddrUtils.getMacAddressFromScannerId(r3)
-                r7.addPrinter(r0, r2, r1, r3)
-                goto L_0x0182
-            L_0x012f:
-                android.os.Bundle r7 = r7.getData()
-                if (r7 == 0) goto L_0x015f
-                boolean r0 = r7.isEmpty()
-                if (r0 != 0) goto L_0x015f
-                java.lang.String r0 = "ssid"
-                java.lang.String r0 = r7.getString(r0)
-                java.lang.String r1 = "name"
-                java.lang.String r1 = r7.getString(r1)
-                java.lang.String r3 = "addr_infra"
-                java.lang.String r7 = r7.getString(r3)
-                if (r1 != 0) goto L_0x0150
-                r1 = r0
-            L_0x0150:
-                epson.print.MyPrinter r3 = new epson.print.MyPrinter
-                java.lang.String r4 = ""
-                r3.<init>(r1, r0, r7, r4)
-                epson.scan.activity.ScanSearchActivity r1 = epson.scan.activity.ScanSearchActivity.this
-                com.epson.mobilephone.common.wifidirect.WiFiDirectPrinterListUtils r1 = r1.wiFiDirectPrinterListUtils
-                r1.addPrinter(r3, r2, r0, r7)
-                goto L_0x0182
-            L_0x015f:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                boolean unused = r7.isSearchSimpleAp = r2
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                boolean r7 = r7.isFinishSearchScanner
-                if (r7 == 0) goto L_0x0182
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                r7.updateFindScannerResult()
-                goto L_0x0182
-            L_0x0172:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                r7.interruptSearch()
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                r7.updateFindScannerResult()
-                goto L_0x0182
-            L_0x017d:
-                epson.scan.activity.ScanSearchActivity r7 = epson.scan.activity.ScanSearchActivity.this
-                r7.search()
-            L_0x0182:
-                return r2
-            L_0x0183:
-                return r2
-            */
+
             throw new UnsupportedOperationException("Method not decompiled: epson.scan.activity.ScanSearchActivity.C242011.handleMessage(android.os.Message):boolean");
         }
     });

+ 13 - 184
app/src/main/java/epson/scan/i2lib/I2ScanParamManager.java

@@ -4,6 +4,10 @@ import android.content.Context;
 
 
 import android.support.annotation.VisibleForTesting;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
 import com.epson.lib.escani2.EscanI2Lib;
 import com.epson.lib.escani2.I2LibScannerInfoAndCapability;
 import com.epson.lib.escani2.ScanI2Params;
@@ -42,47 +46,9 @@ public class I2ScanParamManager {
         getInstance().saveParamsNonStatic(context, scanI2Params);
     }
 
-    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v1, resolved type: java.io.ObjectOutputStream} */
-    /* JADX WARNING: type inference failed for: r0v0 */
-    /* JADX WARNING: type inference failed for: r0v2 */
-    /* JADX WARNING: type inference failed for: r0v3, types: [java.lang.Throwable] */
-    /* JADX WARNING: type inference failed for: r0v5 */
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Multi-variable type inference failed */
-    /* JADX WARNING: Removed duplicated region for block: B:15:0x001f A[SYNTHETIC, Splitter:B:15:0x001f] */
-    @android.support.annotation.VisibleForTesting
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public void saveParamsNonStatic(@android.support.annotation.NonNull android.content.Context r5, @android.support.annotation.NonNull com.epson.lib.escani2.ScanI2Params r6) throws java.io.IOException {
-        /*
-            r4 = this;
-            r0 = 0
-            java.io.ObjectOutputStream r1 = new java.io.ObjectOutputStream     // Catch:{ all -> 0x001c }
-            java.lang.String r2 = "i2_scan_params.bin"
-            r3 = 0
-            java.io.FileOutputStream r5 = r5.openFileOutput(r2, r3)     // Catch:{ all -> 0x001c }
-            r1.<init>(r5)     // Catch:{ all -> 0x001c }
-            r1.writeObject(r6)     // Catch:{ all -> 0x0019 }
-            r1.close()     // Catch:{ IOException -> 0x0014 }
-            goto L_0x0015
-        L_0x0014:
-            r0 = move-exception
-        L_0x0015:
-            if (r0 != 0) goto L_0x0018
-            return
-        L_0x0018:
-            throw r0
-        L_0x0019:
-            r5 = move-exception
-            r0 = r1
-            goto L_0x001d
-        L_0x001c:
-            r5 = move-exception
-        L_0x001d:
-            if (r0 == 0) goto L_0x0022
-            r0.close()     // Catch:{ IOException -> 0x0022 }
-        L_0x0022:
-            throw r5
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.I2ScanParamManager.saveParamsNonStatic(android.content.Context, com.epson.lib.escani2.ScanI2Params):void");
     }
 
@@ -91,61 +57,9 @@ public class I2ScanParamManager {
         return getInstance().loadScanI2ParamsNonStatic(context);
     }
 
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Exception block dominator not found, dom blocks: [B:16:0x001f, B:23:0x0029] */
-    /* JADX WARNING: Missing exception handler attribute for start block: B:16:0x001f */
-    /* JADX WARNING: Missing exception handler attribute for start block: B:23:0x0029 */
-    /* JADX WARNING: Removed duplicated region for block: B:19:0x0025 A[SYNTHETIC, Splitter:B:19:0x0025] */
-    /* JADX WARNING: Removed duplicated region for block: B:26:0x002f A[SYNTHETIC, Splitter:B:26:0x002f] */
-    /* JADX WARNING: Removed duplicated region for block: B:31:0x0035 A[SYNTHETIC, Splitter:B:31:0x0035] */
-    /* JADX WARNING: Unknown top exception splitter block from list: {B:23:0x0029=Splitter:B:23:0x0029, B:16:0x001f=Splitter:B:16:0x001f} */
-    @android.support.annotation.VisibleForTesting
-    @android.support.annotation.NonNull
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public com.epson.lib.escani2.ScanI2Params loadScanI2ParamsNonStatic(@android.support.annotation.NonNull android.content.Context r4) {
-        /*
-            r3 = this;
-            r0 = 0
-            java.io.ObjectInputStream r1 = new java.io.ObjectInputStream     // Catch:{ FileNotFoundException -> 0x0029, IOException | ClassNotFoundException -> 0x001f }
-            java.lang.String r2 = "i2_scan_params.bin"
-            java.io.FileInputStream r4 = r4.openFileInput(r2)     // Catch:{ FileNotFoundException -> 0x0029, IOException | ClassNotFoundException -> 0x001f }
-            r1.<init>(r4)     // Catch:{ FileNotFoundException -> 0x0029, IOException | ClassNotFoundException -> 0x001f }
-            java.lang.Object r4 = r1.readObject()     // Catch:{ FileNotFoundException -> 0x001b, IOException | ClassNotFoundException -> 0x0019, all -> 0x0016 }
-            com.epson.lib.escani2.ScanI2Params r4 = (com.epson.lib.escani2.ScanI2Params) r4     // Catch:{ FileNotFoundException -> 0x001b, IOException | ClassNotFoundException -> 0x0019, all -> 0x0016 }
-            r1.close()     // Catch:{ IOException -> 0x0015 }
-        L_0x0015:
-            return r4
-        L_0x0016:
-            r4 = move-exception
-            r0 = r1
-            goto L_0x0033
-        L_0x0019:
-            r0 = r1
-            goto L_0x001f
-        L_0x001b:
-            r0 = r1
-            goto L_0x0029
-        L_0x001d:
-            r4 = move-exception
-            goto L_0x0033
-        L_0x001f:
-            com.epson.lib.escani2.ScanI2Params r4 = getDefaultScanI2Params()     // Catch:{ all -> 0x001d }
-            if (r0 == 0) goto L_0x0028
-            r0.close()     // Catch:{ IOException -> 0x0028 }
-        L_0x0028:
-            return r4
-        L_0x0029:
-            com.epson.lib.escani2.ScanI2Params r4 = getDefaultScanI2Params()     // Catch:{ all -> 0x001d }
-            if (r0 == 0) goto L_0x0032
-            r0.close()     // Catch:{ IOException -> 0x0032 }
-        L_0x0032:
-            return r4
-        L_0x0033:
-            if (r0 == 0) goto L_0x0038
-            r0.close()     // Catch:{ IOException -> 0x0038 }
-        L_0x0038:
-            throw r4
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.I2ScanParamManager.loadScanI2ParamsNonStatic(android.content.Context):com.epson.lib.escani2.ScanI2Params");
     }
 
@@ -201,47 +115,9 @@ public class I2ScanParamManager {
         getInstance().saveI2AllInfoNonStatic(context, i2LibScannerInfoAndCapability);
     }
 
-    /* JADX DEBUG: Multi-variable search result rejected for TypeSearchVarInfo{r0v1, resolved type: java.io.ObjectOutputStream} */
-    /* JADX WARNING: type inference failed for: r0v0 */
-    /* JADX WARNING: type inference failed for: r0v2 */
-    /* JADX WARNING: type inference failed for: r0v3, types: [java.lang.Throwable] */
-    /* JADX WARNING: type inference failed for: r0v5 */
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Multi-variable type inference failed */
-    /* JADX WARNING: Removed duplicated region for block: B:15:0x001f A[SYNTHETIC, Splitter:B:15:0x001f] */
-    @android.support.annotation.VisibleForTesting
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public void saveI2AllInfoNonStatic(@android.support.annotation.NonNull android.content.Context r5, com.epson.lib.escani2.I2LibScannerInfoAndCapability r6) throws java.io.IOException {
-        /*
-            r4 = this;
-            r0 = 0
-            java.io.ObjectOutputStream r1 = new java.io.ObjectOutputStream     // Catch:{ all -> 0x001c }
-            java.lang.String r2 = "i2_all_info"
-            r3 = 0
-            java.io.FileOutputStream r5 = r5.openFileOutput(r2, r3)     // Catch:{ all -> 0x001c }
-            r1.<init>(r5)     // Catch:{ all -> 0x001c }
-            r1.writeObject(r6)     // Catch:{ all -> 0x0019 }
-            r1.close()     // Catch:{ IOException -> 0x0014 }
-            goto L_0x0015
-        L_0x0014:
-            r0 = move-exception
-        L_0x0015:
-            if (r0 != 0) goto L_0x0018
-            return
-        L_0x0018:
-            throw r0
-        L_0x0019:
-            r5 = move-exception
-            r0 = r1
-            goto L_0x001d
-        L_0x001c:
-            r5 = move-exception
-        L_0x001d:
-            if (r0 == 0) goto L_0x0022
-            r0.close()     // Catch:{ IOException -> 0x0022 }
-        L_0x0022:
-            throw r5
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.I2ScanParamManager.saveI2AllInfoNonStatic(android.content.Context, com.epson.lib.escani2.I2LibScannerInfoAndCapability):void");
     }
 
@@ -250,57 +126,10 @@ public class I2ScanParamManager {
         return getInstance().loadI2AllInfoNonStatic(context);
     }
 
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Removed duplicated region for block: B:15:0x0021 A[SYNTHETIC, Splitter:B:15:0x0021] */
-    /* JADX WARNING: Removed duplicated region for block: B:30:? A[RETURN, SYNTHETIC] */
-    /* JADX WARNING: Removed duplicated region for block: B:31:? A[RETURN, SYNTHETIC] */
-    @android.support.annotation.Nullable
-    @android.support.annotation.VisibleForTesting
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
+
     public com.epson.lib.escani2.I2LibScannerInfoAndCapability loadI2AllInfoNonStatic(@android.support.annotation.NonNull android.content.Context r4) {
-        /*
-            r3 = this;
-            r0 = 0
-            java.io.ObjectInputStream r1 = new java.io.ObjectInputStream     // Catch:{ FileNotFoundException -> 0x002c, IOException | ClassNotFoundException -> 0x0025, all -> 0x001e }
-            java.lang.String r2 = "i2_all_info"
-            java.io.FileInputStream r4 = r4.openFileInput(r2)     // Catch:{ FileNotFoundException -> 0x002c, IOException | ClassNotFoundException -> 0x0025, all -> 0x001e }
-            r1.<init>(r4)     // Catch:{ FileNotFoundException -> 0x002c, IOException | ClassNotFoundException -> 0x0025, all -> 0x001e }
-            java.lang.Object r4 = r1.readObject()     // Catch:{ FileNotFoundException -> 0x001c, IOException | ClassNotFoundException -> 0x001a, all -> 0x0017 }
-            com.epson.lib.escani2.I2LibScannerInfoAndCapability r4 = (com.epson.lib.escani2.I2LibScannerInfoAndCapability) r4     // Catch:{ FileNotFoundException -> 0x001c, IOException | ClassNotFoundException -> 0x001a, all -> 0x0017 }
-            r1.close()     // Catch:{ IOException -> 0x0015 }
-        L_0x0015:
-            r0 = r4
-            goto L_0x0030
-        L_0x0017:
-            r4 = move-exception
-            r0 = r1
-            goto L_0x001f
-        L_0x001a:
-            goto L_0x0026
-        L_0x001c:
-            goto L_0x002d
-        L_0x001e:
-            r4 = move-exception
-        L_0x001f:
-            if (r0 == 0) goto L_0x0024
-            r0.close()     // Catch:{ IOException -> 0x0024 }
-        L_0x0024:
-            throw r4
-        L_0x0025:
-            r1 = r0
-        L_0x0026:
-            if (r1 == 0) goto L_0x0030
-        L_0x0028:
-            r1.close()     // Catch:{ IOException -> 0x0030 }
-            goto L_0x0030
-        L_0x002c:
-            r1 = r0
-        L_0x002d:
-            if (r1 == 0) goto L_0x0030
-            goto L_0x0028
-        L_0x0030:
-            return r0
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.I2ScanParamManager.loadI2AllInfoNonStatic(android.content.Context):com.epson.lib.escani2.I2LibScannerInfoAndCapability");
     }
 

+ 11 - 231
app/src/main/java/epson/scan/i2lib/I2ScanTask.java

@@ -2,11 +2,13 @@ package epson.scan.i2lib;
 
 import android.content.Context;
 import android.os.AsyncTask;
-
-
 import android.support.annotation.UiThread;
 import android.support.annotation.VisibleForTesting;
 import android.support.annotation.WorkerThread;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
 import com.epson.iprint.prtlogger.Analytics;
 import com.epson.iprint.prtlogger.CommonLog;
 import com.epson.iprint.prtlogger.PrintLog;
@@ -16,15 +18,17 @@ import com.epson.lib.escani2.ScanI2Params;
 import com.epson.lib.escani2.ScanI2Runner;
 import com.epson.lib.escani2.ScanSize;
 import com.epson.lib.escani2.ScannerI2Info;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Calendar;
+
 import epson.common.ExternalFileUtils;
 import epson.scan.activity.ScanContinueParam;
 import epson.scan.activity.ScannerPropertyWrapper;
 import epson.scan.lib.CancelableScannerProbe;
 import epson.scan.lib.EscanLibException;
 import epson.scan.lib.I1ScanParams;
-import java.io.File;
-import java.util.ArrayList;
-import java.util.Calendar;
 
 public class I2ScanTask extends AsyncTask<Void, Void, TaskError> {
     private static final String LOG_TAG = "I2ScanTask";
@@ -134,233 +138,9 @@ public class I2ScanTask extends AsyncTask<Void, Void, TaskError> {
         return (int[]) mScanI2Runner.getScanPages().clone();
     }
 
-    /* access modifiers changed from: protected */
-    /* JADX WARNING: Missing exception handler attribute for start block: B:78:0x0174 */
-    /* JADX WARNING: Removed duplicated region for block: B:75:0x0160  */
-    /* JADX WARNING: Removed duplicated region for block: B:81:0x017b  */
-    /* JADX WARNING: Removed duplicated region for block: B:85:0x0191  */
-    /* JADX WARNING: Unknown top exception splitter block from list: {B:72:0x0150=Splitter:B:72:0x0150, B:78:0x0174=Splitter:B:78:0x0174} */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public epson.scan.i2lib.I2ScanTask.TaskError doInBackground(java.lang.Void... r9) {
-        /*
-            r8 = this;
-            java.lang.String r9 = ""
-            r0 = 0
-            r1 = 1
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            boolean r2 = epson.common.Utils.isMediaMounted()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r3 = 2
-            if (r2 != 0) goto L_0x0025
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            epson.scan.i2lib.I2ScanTask$TaskError r2 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r2.<init>(r3, r3)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r2
-        L_0x0025:
-            android.content.Context r2 = r8.mApplicationContext     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            java.io.File r2 = r8.getSaveDirectory(r2)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            com.epson.lib.escani2.ScanI2Params r4 = r8.mScanI2Params     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            epson.scan.activity.ScannerPropertyWrapper r5 = r8.mScannerPropertyWrapper     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            com.epson.lib.escani2.I2LibScannerInfoAndCapability r5 = r5.getI2ScannerAllInfo()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            com.epson.lib.escani2.ScannerI2Info r5 = r5.scannerI2Info     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            int r4 = r8.checkScanParams(r2, r4, r5)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r5 = -202(0xffffffffffffff36, float:NaN)
-            switch(r4) {
-                case 0: goto L_0x0058;
-                case 1: goto L_0x0043;
-                default: goto L_0x003e;
-            }     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-        L_0x003e:
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            goto L_0x0139
-        L_0x0043:
-            epson.scan.i2lib.I2ScanTask$TaskError r2 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r4 = 3
-            r2.<init>(r3, r4)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r2
-        L_0x0058:
-            boolean r3 = epson.scan.activity.ScanContinueParam.isContinueScanning()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            if (r3 != 0) goto L_0x006e
-            android.content.Context r3 = r8.mApplicationContext     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            epson.common.ExternalFileUtils r3 = epson.common.ExternalFileUtils.getInstance(r3)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            java.lang.String r2 = r2.getPath()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r3.clearTempFoler(r2)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            epson.scan.activity.ScanContinueParam.resetParameter()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-        L_0x006e:
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r2 = r8.mApplicationContext     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            epson.scan.activity.ScannerPropertyWrapper r3 = r8.mScannerPropertyWrapper     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            java.lang.String r9 = r8.probeScanner(r2, r3)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            if (r9 != 0) goto L_0x0094
-            epson.scan.i2lib.I2ScanTask$TaskError r2 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r3 = -214(0xffffffffffffff2a, float:NaN)
-            r2.<init>(r1, r3)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r2
-        L_0x0094:
-            epson.scan.i2lib.ImageProcessController r2 = r8.mImageProcessController     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r2.startThread()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            com.epson.lib.escani2.ScanI2Params r2 = r8.mScanI2Params     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            com.epson.lib.escani2.ScanI2Params r2 = r2.clone()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            com.epson.lib.escani2.EscanI2Lib$ColorMode r3 = r2.colorMode     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            com.epson.lib.escani2.EscanI2Lib$ColorMode r4 = com.epson.lib.escani2.EscanI2Lib.ColorMode.MONO_1BIT     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            if (r3 != r4) goto L_0x00a9
-            com.epson.lib.escani2.EscanI2Lib$ColorMode r3 = com.epson.lib.escani2.EscanI2Lib.ColorMode.GRAYSCALE_8BIT     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r2.colorMode = r3     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-        L_0x00a9:
-            epson.scan.i2lib.ImageProcessController r3 = r8.mImageProcessController     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            java.lang.String[] r3 = r3.getScanOutFilenameFormat()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r8.checkCancel()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            com.epson.lib.escani2.ScanI2Runner r4 = r8.mScanI2Runner     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            epson.scan.i2lib.I2ScanTask$TaskObserver r6 = new epson.scan.i2lib.I2ScanTask$TaskObserver     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r7 = 0
-            r6.<init>(r8, r7)     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            int r2 = r4.doScan(r9, r2, r3, r6)     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            boolean r3 = r8.mCancelRequested     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            if (r3 == 0) goto L_0x00c9
-            epson.scan.i2lib.ImageProcessController r3 = r8.mImageProcessController     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r3.cancelThread()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r3 = 0
-            goto L_0x00cf
-        L_0x00c9:
-            epson.scan.i2lib.ImageProcessController r3 = r8.mImageProcessController     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r3.requestFinishThread()     // Catch:{ LocalCancel -> 0x0137, EscanLibException -> 0x0134, all -> 0x0130 }
-            r3 = 1
-        L_0x00cf:
-            if (r2 == 0) goto L_0x00d9
-            if (r2 == r1) goto L_0x00d9
-            epson.scan.i2lib.I2ScanTask$TaskError r4 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-            r4.<init>(r1, r2)     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-            goto L_0x00da
-        L_0x00d9:
-            r4 = r7
-        L_0x00da:
-            epson.scan.i2lib.ImageProcessController r6 = r8.mImageProcessController     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-            boolean r6 = r6.waitUntilThreadEnd()     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-            if (r6 != 0) goto L_0x00e9
-            if (r4 != 0) goto L_0x00e9
-            epson.scan.i2lib.I2ScanTask$TaskError r4 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-            r4.<init>(r1, r5)     // Catch:{ LocalCancel -> 0x012e, EscanLibException -> 0x012b, all -> 0x0128 }
-        L_0x00e9:
-            r8.convertFile()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            if (r4 == 0) goto L_0x00fd
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r4
-        L_0x00fd:
-            java.util.ArrayList<java.lang.String> r3 = r8.mResScanFileList     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            boolean r3 = r3.isEmpty()     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            if (r3 == 0) goto L_0x0119
-            epson.scan.i2lib.I2ScanTask$TaskError r3 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r3.<init>(r1, r2)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r3
-        L_0x0119:
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r7
-        L_0x0128:
-            r1 = move-exception
-            r0 = r3
-            goto L_0x018f
-        L_0x012b:
-            r2 = move-exception
-            r0 = r3
-            goto L_0x0150
-        L_0x012e:
-            r0 = r3
-            goto L_0x0174
-        L_0x0130:
-            r0 = move-exception
-            r1 = r0
-            r0 = 1
-            goto L_0x018f
-        L_0x0134:
-            r2 = move-exception
-            r0 = 1
-            goto L_0x0150
-        L_0x0137:
-            r0 = 1
-            goto L_0x0174
-        L_0x0139:
-            epson.scan.i2lib.I2ScanTask$TaskError r2 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            r2.<init>(r1, r5)     // Catch:{ LocalCancel -> 0x0174, EscanLibException -> 0x014f }
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r2
-        L_0x014d:
-            r1 = move-exception
-            goto L_0x018f
-        L_0x014f:
-            r2 = move-exception
-        L_0x0150:
-            epson.scan.i2lib.ImageProcessController r3 = r8.mImageProcessController     // Catch:{ all -> 0x014d }
-            r3.cancelThread()     // Catch:{ all -> 0x014d }
-            epson.scan.i2lib.I2ScanTask$TaskError r3 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ all -> 0x014d }
-            int r2 = r2.getEscanLibErrorCode()     // Catch:{ all -> 0x014d }
-            r3.<init>(r1, r2)     // Catch:{ all -> 0x014d }
-            if (r0 == 0) goto L_0x0165
-            epson.scan.i2lib.ImageProcessController r0 = r8.mImageProcessController
-            r0.cancelThread()
-        L_0x0165:
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r3
-        L_0x0174:
-            epson.scan.i2lib.I2ScanTask$TaskError r2 = new epson.scan.i2lib.I2ScanTask$TaskError     // Catch:{ all -> 0x014d }
-            r2.<init>(r1, r1)     // Catch:{ all -> 0x014d }
-            if (r0 == 0) goto L_0x0180
-            epson.scan.i2lib.ImageProcessController r0 = r8.mImageProcessController
-            r0.cancelThread()
-        L_0x0180:
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r1 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r1, r9)
-            r8.sendLog(r0)
-            return r2
-        L_0x018f:
-            if (r0 == 0) goto L_0x0196
-            epson.scan.i2lib.ImageProcessController r0 = r8.mImageProcessController
-            r0.cancelThread()
-        L_0x0196:
-            android.content.Context r0 = r8.mApplicationContext
-            int r0 = com.epson.iprint.prtlogger.Analytics.getConnectionType(r0)
-            android.content.Context r2 = r8.mApplicationContext
-            epson.scan.lib.ScannerConnection.disconnectIfSimpleAp(r2, r9)
-            r8.sendLog(r0)
-            throw r1
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.I2ScanTask.doInBackground(java.lang.Void[]):epson.scan.i2lib.I2ScanTask$TaskError");
     }
 

+ 4 - 43
app/src/main/java/epson/scan/i2lib/ImageProcessThread.java

@@ -1,6 +1,8 @@
 package epson.scan.i2lib;
 
 
+import androidx.annotation.NonNull;
+
 import epson.scan.i2lib.ImageProcessController;
 import org.opencv.core.Core;
 import org.opencv.core.Mat;
@@ -41,50 +43,9 @@ public class ImageProcessThread extends Thread {
         }
     }
 
-    /* JADX WARNING: Removed duplicated region for block: B:12:0x0031  */
-    /* JADX WARNING: Removed duplicated region for block: B:15:0x0044 A[RETURN] */
-    /* JADX WARNING: Removed duplicated region for block: B:17:? A[RETURN, SYNTHETIC] */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     private boolean processImage(@android.support.annotation.NonNull epson.scan.i2lib.ImageProcessController.ImageProcessInfo r6, int r7) {
-        /*
-            r5 = this;
-            boolean r0 = r6.rotate180()
-            boolean r1 = r6.blackAndWhite()
-            if (r0 != 0) goto L_0x000c
-            if (r1 == 0) goto L_0x0045
-        L_0x000c:
-            org.opencv.core.Mat r2 = new org.opencv.core.Mat
-            r2.<init>()
-            java.lang.String r3 = r6.getInputFilename()
-            org.opencv.core.Mat r3 = openImageFile(r3)
-            r4 = 0
-            if (r3 != 0) goto L_0x001d
-            return r4
-        L_0x001d:
-            if (r1 == 0) goto L_0x002d
-            blackAndWhite(r3, r2, r7)
-            if (r0 == 0) goto L_0x002d
-            r3.release()
-            org.opencv.core.Mat r7 = new org.opencv.core.Mat
-            r7.<init>()
-            goto L_0x002f
-        L_0x002d:
-            r7 = r2
-            r2 = r3
-        L_0x002f:
-            if (r0 == 0) goto L_0x0034
-            rotate180(r2, r7)
-        L_0x0034:
-            java.lang.String r6 = r6.getOutputFilename()
-            boolean r6 = org.opencv.imgcodecs.Imgcodecs.imwrite(r6, r7)
-            r7.release()
-            r2.release()
-            if (r6 != 0) goto L_0x0045
-            return r4
-        L_0x0045:
-            r6 = 1
-            return r6
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.scan.i2lib.ImageProcessThread.processImage(epson.scan.i2lib.ImageProcessController$ImageProcessInfo, int):boolean");
     }
 

+ 2 - 50
app/src/main/java/epson/server/utils/MyUtility.java

@@ -45,57 +45,9 @@ public final class MyUtility {
         }
     }
 
-    /* JADX WARNING: Can't wrap try/catch for region: R(5:10|11|12|13|32) */
-    /* JADX WARNING: Code restructure failed: missing block: B:33:?, code lost:
-        return;
-     */
-    /* JADX WARNING: Failed to process nested try/catch */
-    /* JADX WARNING: Missing exception handler attribute for start block: B:12:0x0018 */
-    /* JADX WARNING: Removed duplicated region for block: B:24:0x002a A[SYNTHETIC, Splitter:B:24:0x002a] */
-    /* JADX WARNING: Removed duplicated region for block: B:28:0x0031 A[SYNTHETIC, Splitter:B:28:0x0031] */
-    /* Code decompiled incorrectly, please refer to instructions dump. */
+
     public static void copy(java.io.File r3, java.io.File r4) throws java.io.IOException {
-        /*
-            r0 = 0
-            java.io.FileInputStream r1 = new java.io.FileInputStream     // Catch:{ all -> 0x0026 }
-            r1.<init>(r3)     // Catch:{ all -> 0x0026 }
-            java.io.FileOutputStream r3 = new java.io.FileOutputStream     // Catch:{ all -> 0x0024 }
-            r3.<init>(r4)     // Catch:{ all -> 0x0024 }
-            r4 = 8192(0x2000, float:1.14794E-41)
-            byte[] r4 = new byte[r4]     // Catch:{ all -> 0x0021 }
-        L_0x000f:
-            int r0 = r1.read(r4)     // Catch:{ all -> 0x0021 }
-            if (r0 > 0) goto L_0x001c
-            r1.close()     // Catch:{ IOException -> 0x0018 }
-        L_0x0018:
-            r3.close()     // Catch:{ IOException -> 0x001b }
-        L_0x001b:
-            return
-        L_0x001c:
-            r2 = 0
-            r3.write(r4, r2, r0)     // Catch:{ all -> 0x0021 }
-            goto L_0x000f
-        L_0x0021:
-            r4 = move-exception
-            r0 = r3
-            goto L_0x0028
-        L_0x0024:
-            r4 = move-exception
-            goto L_0x0028
-        L_0x0026:
-            r4 = move-exception
-            r1 = r0
-        L_0x0028:
-            if (r1 == 0) goto L_0x002f
-            r1.close()     // Catch:{ IOException -> 0x002e }
-            goto L_0x002f
-        L_0x002e:
-        L_0x002f:
-            if (r0 == 0) goto L_0x0034
-            r0.close()     // Catch:{ IOException -> 0x0034 }
-        L_0x0034:
-            throw r4
-        */
+
         throw new UnsupportedOperationException("Method not decompiled: epson.server.utils.MyUtility.copy(java.io.File, java.io.File):void");
     }