Offset 1, 17 lines modified | Offset 1, 17 lines modified | ||
1 |
Zip·file·size:·51 |
1 | Zip·file·size:·51210·bytes,·number·of·entries:·15 |
2 | -rw----·····2.0·fat·····1049·bl·defN·08-Jan-01·00:00·META-INF/MANIFEST.MF | 2 | -rw----·····2.0·fat·····1049·bl·defN·08-Jan-01·00:00·META-INF/MANIFEST.MF |
3 | -rw----·····2.0·fat·····1170·bl·defN·08-Jan-01·00:00·META-INF/84D3000E.SF | 3 | -rw----·····2.0·fat·····1170·bl·defN·08-Jan-01·00:00·META-INF/84D3000E.SF |
4 | -rw----·····2.0·fat·····1326·bl·defN·08-Jan-01·00:00·META-INF/84D3000E.RSA | 4 | -rw----·····2.0·fat·····1326·bl·defN·08-Jan-01·00:00·META-INF/84D3000E.RSA |
5 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/buildserverid | 5 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/buildserverid |
6 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/fdroidserverid | 6 | -rw----·····2.0·fat·······41·bl·defN·08-Jan-01·00:00·META-INF/fdroidserverid |
7 | -rw----·····2.0·fat·····6244·bX·defN·08-Jan-01·00:00·AndroidManifest.xml | 7 | -rw----·····2.0·fat·····6244·bX·defN·08-Jan-01·00:00·AndroidManifest.xml |
8 | -rw----·····1.0·fat······912·b-·stor·08-Jan-01·00:00·res/drawable-hdpi-v4/ic_launcher.png | 8 | -rw----·····1.0·fat······912·b-·stor·08-Jan-01·00:00·res/drawable-hdpi-v4/ic_launcher.png |
9 | -rw----·····1.0·fat······660·b-·stor·08-Jan-01·00:00·res/drawable-mdpi-v4/ic_launcher.png | 9 | -rw----·····1.0·fat······660·b-·stor·08-Jan-01·00:00·res/drawable-mdpi-v4/ic_launcher.png |
10 | -rw----·····1.0·fat·····1061·b-·stor·08-Jan-01·00:00·res/drawable-xhdpi-v4/ic_launcher.png | 10 | -rw----·····1.0·fat·····1061·b-·stor·08-Jan-01·00:00·res/drawable-xhdpi-v4/ic_launcher.png |
11 | -rw----·····1.0·fat·····1429·b-·stor·08-Jan-01·00:00·res/drawable-xxhdpi-v4/ic_launcher.png | 11 | -rw----·····1.0·fat·····1429·b-·stor·08-Jan-01·00:00·res/drawable-xxhdpi-v4/ic_launcher.png |
12 | -rw----·····1.0·fat·····1749·b-·stor·08-Jan-01·00:00·res/drawable-xxxhdpi-v4/ic_launcher.png | 12 | -rw----·····1.0·fat·····1749·b-·stor·08-Jan-01·00:00·res/drawable-xxxhdpi-v4/ic_launcher.png |
13 | -rw----·····2.0·fat·····1088·bl·defN·08-Jan-01·00:00·res/layout/activity_permission.xml | 13 | -rw----·····2.0·fat·····1088·bl·defN·08-Jan-01·00:00·res/layout/activity_permission.xml |
14 | -rw----·····2.0·fat·····1396·bl·defN·08-Jan-01·00:00·res/layout/dialog_textarea_input.xml | 14 | -rw----·····2.0·fat·····1396·bl·defN·08-Jan-01·00:00·res/layout/dialog_textarea_input.xml |
15 | -rw----·····1.0·fat·····2932·b-·stor·08-Jan-01·00:00·resources.arsc | 15 | -rw----·····1.0·fat·····2932·b-·stor·08-Jan-01·00:00·resources.arsc |
16 |
-rw----·····2.0·fat····7 |
16 | -rw----·····2.0·fat····75888·bl·defN·08-Jan-01·00:00·classes.dex |
17 |
15·files,·9 |
17 | 15·files,·96986·bytes·uncompressed,·49120·bytes·compressed:··49.4% |
Offset 1, 9 lines modified | Offset 1, 9 lines modified | ||
1 | <?xml·version="1.0"·encoding="utf-8"?> | 1 | <?xml·version="1.0"·encoding="utf-8"?> |
2 |
<manifest·android:sharedUserId="com.termux"·android:versionCode="10"·android:versionName="0.10"·package="com.termux.api"·platformBuildVersionCode="23"·platformBuildVersionName="6.0-2 |
2 | <manifest·android:sharedUserId="com.termux"·android:versionCode="10"·android:versionName="0.10"·package="com.termux.api"·platformBuildVersionCode="23"·platformBuildVersionName="6.0-2704002" |
3 | ··xmlns:android="http://schemas.android.com/apk/res/android"> | 3 | ··xmlns:android="http://schemas.android.com/apk/res/android"> |
4 | ····<uses-sdk·android:minSdkVersion="21"·android:targetSdkVersion="23"·/> | 4 | ····<uses-sdk·android:minSdkVersion="21"·android:targetSdkVersion="23"·/> |
5 | ····<uses-feature·android:name="android.hardware.touchscreen"·android:required="false"·/> | 5 | ····<uses-feature·android:name="android.hardware.touchscreen"·android:required="false"·/> |
6 | ····<uses-permission·android:name="android.permission.READ_SMS"·/> | 6 | ····<uses-permission·android:name="android.permission.READ_SMS"·/> |
7 | ····<uses-permission·android:name="android.permission.SEND_SMS"·/> | 7 | ····<uses-permission·android:name="android.permission.SEND_SMS"·/> |
8 | ····<uses-permission·android:name="android.permission.READ_CONTACTS"·/> | 8 | ····<uses-permission·android:name="android.permission.READ_CONTACTS"·/> |
9 | ····<uses-permission·android:name="android.permission.CAMERA"·/> | 9 | ····<uses-permission·android:name="android.permission.CAMERA"·/> |
Offset 42, 184 lines modified | Offset 42, 165 lines modified | ||
42 | ········} | 42 | ········} |
43 | ····.end·annotation | 43 | ····.end·annotation |
44 | ····.prologue | 44 | ····.prologue |
45 | ····.line·23 | 45 | ····.line·23 |
46 | ····move-object/from16·v0,·p0 | 46 | ····move-object/from16·v0,·p0 |
47 |
····iget-object·v |
47 | ····iget-object·v15,·v0,·Lcom/termux/api/CameraInfoAPI$1;->val$context:Landroid/content/Context; |
48 |
···· |
48 | ····const-string·v16,·"camera" |
49 |
···· |
49 | ····invoke-virtual/range·{v15·..·v16},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
50 |
···· |
50 | ····move-result-object·v11 |
51 | ····move-result-object·v17 | ||
52 |
····check-cast·v1 |
51 | ····check-cast·v11,·Landroid/hardware/camera2/CameraManager; |
53 | ····.line·25 | 52 | ····.line·25 |
54 |
····.local·v1 |
53 | ····.local·v11,·"manager":Landroid/hardware/camera2/CameraManager; |
55 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; | 54 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; |
56 | ····.line·26 | 55 | ····.line·26 |
57 |
····invoke-virtual |
56 | ····invoke-virtual·{v11},·Landroid/hardware/camera2/CameraManager;->getCameraIdList()[Ljava/lang/String; |
58 |
····move-result-object·v |
57 | ····move-result-object·v18 |
58 | ····move-object/from16·v0,·v18 | ||
59 |
|
59 | ····array-length·v0,·v0 |
60 | ····array-length·v14,·v4 | ||
61 |
···· |
60 | ····move/from16·v19,·v0 |
62 | ····const/4·v12,·0x0 | ||
63 |
···· |
61 | ····const/4·v15,·0x0 |
64 | ····move·v13,·v12 | ||
62 | ····move/from16·v17,·v15 | ||
65 | ····.end·local·v4····#·"arr$":[Ljava/lang/String; | ||
66 | ····.end·local·v12····#·"i$":I | ||
67 | ····.end·local·v14····#·"len$":I | ||
68 | ····.local·v13,·"i$":I | ||
69 | ····:goto_0 | 63 | ····:goto_0 |
70 |
···· |
64 | ····move/from16·v0,·v17 |
65 | ····move/from16·v1,·v19 | ||
66 | ····if-ge·v0,·v1,·:cond_4 | ||
71 |
····aget-object·v |
67 | ····aget-object·v5,·v18,·v17 |
72 | ····.line·27 | 68 | ····.line·27 |
73 |
····.local·v |
69 | ····.local·v5,·"cameraId":Ljava/lang/String; |
74 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; | 70 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
75 | ····.line·28 | 71 | ····.line·28 |
76 |
····const-string·v |
72 | ····const-string·v15,·"id" |
77 | ····move-object/from16·v0,·p1 | 73 | ····move-object/from16·v0,·p1 |
78 |
···· |
74 | ····invoke-virtual·{v0,·v15},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
79 | ····invoke-virtual·{v0,·v1},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | ||
80 | ····move-result-object·v21 | ||
81 |
····move- |
75 | ····move-result-object·v15 |
82 |
····invoke-virtual·{v |
76 | ····invoke-virtual·{v15,·v5},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; |
83 | ····.line·30 | 77 | ····.line·30 |
84 |
···· |
78 | ····invoke-virtual·{v11,·v5},·Landroid/hardware/camera2/CameraManager;->getCameraCharacteristics(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics; |
85 | ····invoke-virtual·{v0,·v7},·Landroid/hardware/camera2/CameraManager;->getCameraCharacteristics(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics; | ||
86 |
····move-result-object·v |
79 | ····move-result-object·v4 |
87 | ····.line·32 | 80 | ····.line·32 |
88 |
····.local·v |
81 | ····.local·v4,·"camera":Landroid/hardware/camera2/CameraCharacteristics; |
89 |
····const-string·v |
82 | ····const-string·v15,·"facing" |
90 | ····move-object/from16·v0,·p1 | 83 | ····move-object/from16·v0,·p1 |
91 |
···· |
84 | ····invoke-virtual·{v0,·v15},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
92 | ····invoke-virtual·{v0,·v1},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | ||
93 | ····.line·33 | 85 | ····.line·33 |
94 |
····sget-object·v |
86 | ····sget-object·v15,·Landroid/hardware/camera2/CameraCharacteristics;->LENS_FACING:Landroid/hardware/camera2/CameraCharacteristics$Key; |
95 | ····move-object/from16·v0,·v21 | ||
96 |
····invoke-virtual·{v |
87 | ····invoke-virtual·{v4,·v15},·Landroid/hardware/camera2/CameraCharacteristics;->get(Landroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object; |
97 |
····move-result-object·v |
88 | ····move-result-object·v15 |
98 |
····check-cast·v |
89 | ····check-cast·v15,·Ljava/lang/Integer; |
Max diff block lines reached; 21286/25920 bytes (82.12%) of diff not shown. |
Offset 11, 15 lines modified | Offset 11, 15 lines modified | ||
11 | ····.line·16 | 11 | ····.line·16 |
12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 12 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
13 | ····return-void | 13 | ····return-void |
14 | .end·method | 14 | .end·method |
15 | .method·static·listContacts(Landroid/content/Context;Landroid/util/JsonWriter;)V | 15 | .method·static·listContacts(Landroid/content/Context;Landroid/util/JsonWriter;)V |
16 |
····.locals·2 |
16 | ····.locals·23 |
17 | ····.param·p0,·"context"····#·Landroid/content/Context; | 17 | ····.param·p0,·"context"····#·Landroid/content/Context; |
18 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; | 18 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; |
19 | ····.annotation·system·Ldalvik/annotation/Throws; | 19 | ····.annotation·system·Ldalvik/annotation/Throws; |
20 | ········value·=·{ | 20 | ········value·=·{ |
21 | ············Ljava/lang/Exception; | 21 | ············Ljava/lang/Exception; |
22 | ········} | 22 | ········} |
23 | ····.end·annotation | 23 | ····.end·annotation |
Offset 145, 19 lines modified | Offset 145, 19 lines modified | ||
145 | ····:try_end_1 | 145 | ····:try_end_1 |
146 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 | 146 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_0 |
147 | ····.line·42 | 147 | ····.line·42 |
148 | ····:catchall_0 | 148 | ····:catchall_0 |
149 | ····move-exception·v6 | 149 | ····move-exception·v6 |
150 |
····move-object/from16·v2 |
150 | ····move-object/from16·v22,·v6 |
151 | ····move-object·v6,·v3 | 151 | ····move-object·v6,·v3 |
152 |
····move-object/from16·v3,·v2 |
152 | ····move-object/from16·v3,·v22 |
153 | ····:goto_1 | 153 | ····:goto_1 |
154 | ····if-eqz·v21,·:cond_0 | 154 | ····if-eqz·v21,·:cond_0 |
155 | ····if-eqz·v6,·:cond_6 | 155 | ····if-eqz·v6,·:cond_6 |
156 | ····:try_start_2 | 156 | ····:try_start_2 |
Offset 316, 19 lines modified | Offset 316, 19 lines modified | ||
316 | ····:try_end_6 | 316 | ····:try_end_6 |
317 | ····.catchall·{:try_start_6·..·:try_end_6}·:catchall_1 | 317 | ····.catchall·{:try_start_6·..·:try_end_6}·:catchall_1 |
318 | ····.line·57 | 318 | ····.line·57 |
319 | ····:catchall_1 | 319 | ····:catchall_1 |
320 | ····move-exception·v6 | 320 | ····move-exception·v6 |
321 |
····move-object/from16·v2 |
321 | ····move-object/from16·v22,·v6 |
322 | ····move-object·v6,·v3 | 322 | ····move-object·v6,·v3 |
323 |
····move-object/from16·v3,·v2 |
323 | ····move-object/from16·v3,·v22 |
324 | ····:goto_5 | 324 | ····:goto_5 |
325 | ····if-eqz·v17,·:cond_4 | 325 | ····if-eqz·v17,·:cond_4 |
326 | ····if-eqz·v6,·:cond_a | 326 | ····if-eqz·v6,·:cond_a |
327 | ····:try_start_7 | 327 | ····:try_start_7 |
Offset 351, 42 lines modified | Offset 351, 34 lines modified | ||
351 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->endArray()Landroid/util/JsonWriter; | 351 | ····invoke-virtual/range·{p1·..·p1},·Landroid/util/JsonWriter;->endArray()Landroid/util/JsonWriter; |
352 | ····throw·v3 | 352 | ····throw·v3 |
353 | ····.line·42 | 353 | ····.line·42 |
354 | ····:catch_2 | 354 | ····:catch_2 |
355 |
····move-exception·v |
355 | ····move-exception·v3 |
356 | ····.local·v22,·"x2":Ljava/lang/Throwable; | ||
357 | ····move-object/from16·v0,·v22 | ||
358 |
····invoke-virtual·{v6,·v |
356 | ····invoke-virtual·{v6,·v3},·Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V |
359 | ····goto·:goto_3 | 357 | ····goto·:goto_3 |
360 | ····.end·local·v22····#·"x2":Ljava/lang/Throwable; | ||
361 | ····:cond_5 | 358 | ····:cond_5 |
362 | ····invoke-interface/range·{v21·..·v21},·Landroid/database/Cursor;->close()V | 359 | ····invoke-interface/range·{v21·..·v21},·Landroid/database/Cursor;->close()V |
363 | ····goto·:goto_3 | 360 | ····goto·:goto_3 |
364 | ····.end·local·v19····#·"phoneContactIdIdx":I | 361 | ····.end·local·v19····#·"phoneContactIdIdx":I |
365 | ····.end·local·v20····#·"phoneNumberIdx":I | 362 | ····.end·local·v20····#·"phoneNumberIdx":I |
366 | ····:catch_3 | 363 | ····:catch_3 |
367 |
····move-exception·v |
364 | ····move-exception·v7 |
368 | ····.restart·local·v22····#·"x2":Ljava/lang/Throwable; | ||
369 | ····move-object/from16·v0,·v22 | ||
370 |
····invoke-virtual·{v6,·v |
365 | ····invoke-virtual·{v6,·v7},·Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V |
371 | ····goto/16·:goto_2 | 366 | ····goto/16·:goto_2 |
372 | ····.end·local·v22····#·"x2":Ljava/lang/Throwable; | ||
373 | ····:cond_6 | 367 | ····:cond_6 |
374 | ····invoke-interface/range·{v21·..·v21},·Landroid/database/Cursor;->close()V | 368 | ····invoke-interface/range·{v21·..·v21},·Landroid/database/Cursor;->close()V |
375 | ····goto/16·:goto_2 | 369 | ····goto/16·:goto_2 |
376 | ····.line·57 | 370 | ····.line·57 |
377 | ····.restart·local·v12····#·"contactDisplayNameIdx":I | 371 | ····.restart·local·v12····#·"contactDisplayNameIdx":I |
Offset 411, 43 lines modified | Offset 403, 35 lines modified | ||
Max diff block lines reached; 1377/4026 bytes (34.20%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$2:Lcom/termux/api/DialogActivity$1$1; | 21 | .field·final·synthetic·this$2:Lcom/termux/api/DialogActivity$1$1; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$1$1;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$1$1;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$2"····#·Lcom/termux/api/DialogActivity$1$1; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·60 | 27 | ····.line·60 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1$1$1;->this$2:Lcom/termux/api/DialogActivity$1$1; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1$1$1;->this$2:Lcom/termux/api/DialogActivity$1$1; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$1:Lcom/termux/api/DialogActivity$1; | 21 | .field·final·synthetic·this$1:Lcom/termux/api/DialogActivity$1; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$1;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$1;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$1"····#·Lcom/termux/api/DialogActivity$1; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·57 | 27 | ····.line·57 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1$1;->this$1:Lcom/termux/api/DialogActivity$1; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1$1;->this$1:Lcom/termux/api/DialogActivity$1; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/termux/api/DialogActivity; | 21 | .field·final·synthetic·this$0:Lcom/termux/api/DialogActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/termux/api/DialogActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·54 | 27 | ····.line·54 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1;->this$0:Lcom/termux/api/DialogActivity; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$1;->this$0:Lcom/termux/api/DialogActivity; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$2:Lcom/termux/api/DialogActivity$2$1; | 21 | .field·final·synthetic·this$2:Lcom/termux/api/DialogActivity$2$1; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$2$1;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$2$1;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$2"····#·Lcom/termux/api/DialogActivity$2$1; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·79 | 27 | ····.line·79 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2$1$1;->this$2:Lcom/termux/api/DialogActivity$2$1; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2$1$1;->this$2:Lcom/termux/api/DialogActivity$2$1; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$1:Lcom/termux/api/DialogActivity$2; | 21 | .field·final·synthetic·this$1:Lcom/termux/api/DialogActivity$2; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$2;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity$2;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$1"····#·Lcom/termux/api/DialogActivity$2; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·74 | 27 | ····.line·74 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2$1;->this$1:Lcom/termux/api/DialogActivity$2; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2$1;->this$1:Lcom/termux/api/DialogActivity$2; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/termux/api/DialogActivity; | 21 | .field·final·synthetic·this$0:Lcom/termux/api/DialogActivity; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity;)V | 23 | .method·constructor·<init>(Lcom/termux/api/DialogActivity;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/termux/api/DialogActivity; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·71 | 27 | ····.line·71 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2;->this$0:Lcom/termux/api/DialogActivity; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/DialogActivity$2;->this$0:Lcom/termux/api/DialogActivity; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 30, 151 lines modified | Offset 30, 143 lines modified | ||
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | #·virtual·methods | 32 | #·virtual·methods |
33 | .method·public·writeJson(Landroid/util/JsonWriter;)V | 33 | .method·public·writeJson(Landroid/util/JsonWriter;)V |
34 |
····.locals· |
34 | ····.locals·8 |
35 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; | 35 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; |
36 | ····.annotation·system·Ldalvik/annotation/Throws; | 36 | ····.annotation·system·Ldalvik/annotation/Throws; |
37 | ········value·=·{ | 37 | ········value·=·{ |
38 | ············Ljava/lang/Exception; | 38 | ············Ljava/lang/Exception; |
39 | ········} | 39 | ········} |
40 | ····.end·annotation | 40 | ····.end·annotation |
41 | ····.prologue | 41 | ····.prologue |
42 | ····.line·19 | 42 | ····.line·19 |
43 |
····iget-object·v |
43 | ····iget-object·v3,·p0,·Lcom/termux/api/InfraredAPI$1;->val$context:Landroid/content/Context; |
44 |
····const-string·v |
44 | ····const-string·v4,·"consumer_ir" |
45 |
····invoke-virtual·{v |
45 | ····invoke-virtual·{v3,·v4},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
46 |
····move-result-object·v |
46 | ····move-result-object·v0 |
47 |
····check-cast·v |
47 | ····check-cast·v0,·Landroid/hardware/ConsumerIrManager; |
48 | ····.line·21 | 48 | ····.line·21 |
49 |
····.local·v |
49 | ····.local·v0,·"irManager":Landroid/hardware/ConsumerIrManager; |
50 |
····invoke-virtual·{v |
50 | ····invoke-virtual·{v0},·Landroid/hardware/ConsumerIrManager;->hasIrEmitter()Z |
51 |
····move-result·v |
51 | ····move-result·v3 |
52 |
····if-eqz·v |
52 | ····if-eqz·v3,·:cond_2 |
53 | ····.line·22 | 53 | ····.line·22 |
54 |
····invoke-virtual·{v |
54 | ····invoke-virtual·{v0},·Landroid/hardware/ConsumerIrManager;->getCarrierFrequencies()[Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; |
55 |
····move-result-object·v |
55 | ····move-result-object·v2 |
56 | ····.line·23 | 56 | ····.line·23 |
57 |
····.local·v |
57 | ····.local·v2,·"ranges":[Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; |
58 |
····if-nez·v |
58 | ····if-nez·v2,·:cond_0 |
59 | ····.line·24 | 59 | ····.line·24 |
60 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; | 60 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
61 |
····move-result-object·v |
61 | ····move-result-object·v3 |
62 |
····const-string·v |
62 | ····const-string·v4,·"API_ERROR" |
63 |
····invoke-virtual·{v |
63 | ····invoke-virtual·{v3,·v4},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
64 |
····move-result-object·v |
64 | ····move-result-object·v3 |
65 |
····const-string·v |
65 | ····const-string·v4,·"Error·communicating·with·the·Consumer·IR·Service" |
66 |
····invoke-virtual·{v |
66 | ····invoke-virtual·{v3,·v4},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; |
67 |
····move-result-object·v |
67 | ····move-result-object·v3 |
68 |
····invoke-virtual·{v |
68 | ····invoke-virtual·{v3},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; |
69 | ····.line·38 | 69 | ····.line·38 |
70 |
····.end·local·v |
70 | ····.end·local·v2····#·"ranges":[Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; |
71 | ····:goto_0 | 71 | ····:goto_0 |
72 | ····return-void | 72 | ····return-void |
73 | ····.line·26 | 73 | ····.line·26 |
74 |
····.restart·local·v |
74 | ····.restart·local·v2····#·"ranges":[Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; |
75 | ····:cond_0 | 75 | ····:cond_0 |
76 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; | 76 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; |
77 | ····.line·27 | 77 | ····.line·27 |
78 |
···· |
78 | ····array-length·v4,·v2 |
79 | ····.local·v0,·"arr$":[Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; | ||
80 | ····array-length·v3,·v0 | ||
81 |
···· |
79 | ····const/4·v3,·0x0 |
82 | ····const/4·v1,·0x0 | ||
83 | ····.local·v1,·"i$":I | ||
84 | ····:goto_1 | 80 | ····:goto_1 |
85 |
····if-ge·v |
81 | ····if-ge·v3,·v4,·:cond_1 |
86 |
····aget-object·v |
82 | ····aget-object·v1,·v2,·v3 |
87 | ····.line·28 | 83 | ····.line·28 |
88 |
····.local·v |
84 | ····.local·v1,·"range":Landroid/hardware/ConsumerIrManager$CarrierFrequencyRange; |
89 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; | 85 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
90 | ····.line·29 | 86 | ····.line·29 |
91 |
····const-string·v |
87 | ····const-string·v5,·"min" |
92 |
····invoke-virtual·{p1,·v |
88 | ····invoke-virtual·{p1,·v5},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
93 |
····move-result-object·v |
89 | ····move-result-object·v5 |
Max diff block lines reached; 2374/7299 bytes (32.53%) of diff not shown. |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$out:Landroid/util/JsonWriter; | 22 | .field·final·synthetic·val$out:Landroid/util/JsonWriter; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/util/JsonWriter;)V | 24 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/util/JsonWriter;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/termux/api/LocationAPI$1; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·54 | 28 | ····.line·54 |
28 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$1;->this$0:Lcom/termux/api/LocationAPI$1; | 29 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$1;->this$0:Lcom/termux/api/LocationAPI$1; |
29 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$1;->val$out:Landroid/util/JsonWriter; | 30 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$1;->val$out:Landroid/util/JsonWriter; |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$out:Landroid/util/JsonWriter; | 22 | .field·final·synthetic·val$out:Landroid/util/JsonWriter; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/util/JsonWriter;)V | 24 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/util/JsonWriter;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/termux/api/LocationAPI$1; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·86 | 28 | ····.line·86 |
28 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$2;->this$0:Lcom/termux/api/LocationAPI$1; | 29 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$2;->this$0:Lcom/termux/api/LocationAPI$1; |
29 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$2;->val$out:Landroid/util/JsonWriter; | 30 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$2;->val$out:Landroid/util/JsonWriter; |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$looper:Landroid/os/Looper; | 19 | .field·final·synthetic·val$looper:Landroid/os/Looper; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/os/Looper;)V | 21 | .method·constructor·<init>(Lcom/termux/api/LocationAPI$1;Landroid/os/Looper;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$0"····#·Lcom/termux/api/LocationAPI$1; | ||
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·114 | 25 | ····.line·114 |
25 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$3;->this$0:Lcom/termux/api/LocationAPI$1; | 26 | ····iput-object·p1,·p0,·Lcom/termux/api/LocationAPI$1$3;->this$0:Lcom/termux/api/LocationAPI$1; |
26 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$3;->val$looper:Landroid/os/Looper; | 27 | ····iput-object·p2,·p0,·Lcom/termux/api/LocationAPI$1$3;->val$looper:Landroid/os/Looper; |
Offset 93, 27 lines modified | Offset 93, 29 lines modified | ||
93 | ····move-result·v2 | 93 | ····move-result·v2 |
94 | ····if-nez·v2,·:cond_1 | 94 | ····if-nez·v2,·:cond_1 |
95 | ····const-string·v2,·"passive" | 95 | ····const-string·v2,·"passive" |
96 | ····.line·36 | ||
96 | ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z | 97 | ····invoke-virtual·{v1,·v2},·Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
97 | ····move-result·v2 | 98 | ····move-result·v2 |
98 | ····if-nez·v2,·:cond_1 | 99 | ····if-nez·v2,·:cond_1 |
99 | ····.line·37 | 100 | ····.line·37 |
100 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; | 101 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
101 | ····move-result-object·v2 | 102 | ····move-result-object·v2 |
102 | ····const-string·v3,·"API_ERROR" | 103 | ····const-string·v3,·"API_ERROR" |
104 | ····.line·38 | ||
103 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | 105 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
104 | ····move-result-object·v2 | 106 | ····move-result-object·v2 |
105 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 107 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
106 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 108 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
Offset 170, 18 lines modified | Offset 172, 20 lines modified | ||
170 | ····move-result-object·v3 | 172 | ····move-result-object·v3 |
171 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 173 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
172 | ····move-result-object·v3 | 174 | ····move-result-object·v3 |
175 | ····.line·39 | ||
173 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; | 176 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; |
174 | ····move-result-object·v2 | 177 | ····move-result-object·v2 |
178 | ····.line·40 | ||
175 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; | 179 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; |
176 | ····.line·133 | 180 | ····.line·133 |
177 | ····:goto_0 | 181 | ····:goto_0 |
178 | ····return-void | 182 | ····return-void |
179 | ····.line·44 | 183 | ····.line·44 |
Offset 218, 14 lines modified | Offset 222, 15 lines modified | ||
218 | ····.line·128 | 222 | ····.line·128 |
219 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; | 223 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginObject()Landroid/util/JsonWriter; |
220 | ····move-result-object·v2 | 224 | ····move-result-object·v2 |
221 | ····const-string·v3,·"API_ERROR" | 225 | ····const-string·v3,·"API_ERROR" |
226 | ····.line·129 | ||
222 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | 227 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
223 | ····move-result-object·v2 | 228 | ····move-result-object·v2 |
224 | ····new-instance·v3,·Ljava/lang/StringBuilder; | 229 | ····new-instance·v3,·Ljava/lang/StringBuilder; |
225 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V | 230 | ····invoke-direct·{v3},·Ljava/lang/StringBuilder;-><init>()V |
Offset 282, 18 lines modified | Offset 287, 20 lines modified | ||
282 | ····move-result-object·v3 | 287 | ····move-result-object·v3 |
283 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; | 288 | ····invoke-virtual·{v3},·Ljava/lang/StringBuilder;->toString()Ljava/lang/String; |
284 | ····move-result-object·v3 | 289 | ····move-result-object·v3 |
290 | ····.line·130 | ||
285 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; | 291 | ····invoke-virtual·{v2,·v3},·Landroid/util/JsonWriter;->value(Ljava/lang/String;)Landroid/util/JsonWriter; |
286 | ····move-result-object·v2 | 292 | ····move-result-object·v2 |
293 | ····.line·131 | ||
287 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; | 294 | ····invoke-virtual·{v2},·Landroid/util/JsonWriter;->endObject()Landroid/util/JsonWriter; |
288 | ····goto·:goto_0 | 295 | ····goto·:goto_0 |
289 | ····.line·47 | 296 | ····.line·47 |
290 | ····:sswitch_0 | 297 | ····:sswitch_0 |
291 | ····const-string·v3,·"last" | 298 | ····const-string·v3,·"last" |
Offset 385, 14 lines modified | Offset 392, 15 lines modified | ||
385 | ····.line·114 | 392 | ····.line·114 |
386 | ····.local·v8,·"looper":Landroid/os/Looper; | 393 | ····.local·v8,·"looper":Landroid/os/Looper; |
387 | ····new-instance·v2,·Lcom/termux/api/LocationAPI$1$3; | 394 | ····new-instance·v2,·Lcom/termux/api/LocationAPI$1$3; |
388 | ····invoke-direct·{v2,·p0,·v8},·Lcom/termux/api/LocationAPI$1$3;-><init>(Lcom/termux/api/LocationAPI$1;Landroid/os/Looper;)V | 395 | ····invoke-direct·{v2,·p0,·v8},·Lcom/termux/api/LocationAPI$1$3;-><init>(Lcom/termux/api/LocationAPI$1;Landroid/os/Looper;)V |
396 | ····.line·124 | ||
389 | ····invoke-virtual·{v2},·Lcom/termux/api/LocationAPI$1$3;->start()V | 397 | ····invoke-virtual·{v2},·Lcom/termux/api/LocationAPI$1$3;->start()V |
390 | ····.line·125 | 398 | ····.line·125 |
Max diff block lines reached; 25/2583 bytes (0.97%) of diff not shown. |
Offset 15, 10 lines modified | Offset 15, 9 lines modified | ||
15 | .method·public·constructor·<init>()V | 15 | .method·public·constructor·<init>()V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·10 | 18 | ····.line·10 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·11 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
Offset 107, 14 lines modified | Offset 107, 15 lines modified | ||
107 | ····const/high16·v9,·-0x1000000 | 107 | ····const/high16·v9,·-0x1000000 |
108 | ····invoke-virtual·{v8,·v9},·Landroid/app/Notification$Builder;->setColor(I)Landroid/app/Notification$Builder; | 108 | ····invoke-virtual·{v8,·v9},·Landroid/app/Notification$Builder;->setColor(I)Landroid/app/Notification$Builder; |
109 | ····move-result-object·v8 | 109 | ····move-result-object·v8 |
110 | ····.line·33 | ||
110 | ····invoke-virtual·{v8,·v5},·Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder; | 111 | ····invoke-virtual·{v8,·v5},·Landroid/app/Notification$Builder;->setContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder; |
111 | ····move-result-object·v8 | 112 | ····move-result-object·v8 |
112 | ····invoke-virtual·{v8,·v0},·Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder; | 113 | ····invoke-virtual·{v8,·v0},·Landroid/app/Notification$Builder;->setContentText(Ljava/lang/CharSequence;)Landroid/app/Notification$Builder; |
113 | ····move-result-object·v2 | 114 | ····move-result-object·v2 |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$reader:Landroid/media/ImageReader; | 19 | .field·final·synthetic·val$reader:Landroid/media/ImageReader; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lcom/termux/api/PhotoAPI$4;Landroid/media/ImageReader;)V | 21 | .method·constructor·<init>(Lcom/termux/api/PhotoAPI$4;Landroid/media/ImageReader;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$0"····#·Lcom/termux/api/PhotoAPI$4; | ||
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·125 | 25 | ····.line·125 |
25 | ····iput-object·p1,·p0,·Lcom/termux/api/PhotoAPI$4$1;->this$0:Lcom/termux/api/PhotoAPI$4; | 26 | ····iput-object·p1,·p0,·Lcom/termux/api/PhotoAPI$4$1;->this$0:Lcom/termux/api/PhotoAPI$4; |
26 | ····iput-object·p2,·p0,·Lcom/termux/api/PhotoAPI$4$1;->val$reader:Landroid/media/ImageReader; | 27 | ····iput-object·p2,·p0,·Lcom/termux/api/PhotoAPI$4$1;->val$reader:Landroid/media/ImageReader; |
Offset 34, 232 lines modified | Offset 35, 230 lines modified | ||
34 | ····return-void | 35 | ····return-void |
35 | .end·method | 36 | .end·method |
36 | #·virtual·methods | 37 | #·virtual·methods |
37 | .method·public·run()V | 38 | .method·public·run()V |
38 |
····.locals· |
39 | ····.locals·9 |
39 | ····.prologue | 40 | ····.prologue |
40 |
····const/4·v |
41 | ····const/4·v7,·0x0 |
41 | ····.line·128 | 42 | ····.line·128 |
42 |
····iget-object·v |
43 | ····iget-object·v5,·p0,·Lcom/termux/api/PhotoAPI$4$1;->val$reader:Landroid/media/ImageReader; |
43 |
····invoke-virtual·{v |
44 | ····invoke-virtual·{v5},·Landroid/media/ImageReader;->acquireNextImage()Landroid/media/Image; |
44 | ····move-result-object·v3 | 45 | ····move-result-object·v3 |
45 | ····.line·129 | 46 | ····.line·129 |
46 | ····.local·v3,·"mImage":Landroid/media/Image; | 47 | ····.local·v3,·"mImage":Landroid/media/Image; |
47 | ····:try_start_0 | 48 | ····:try_start_0 |
48 | ····invoke-virtual·{v3},·Landroid/media/Image;->getPlanes()[Landroid/media/Image$Plane; | 49 | ····invoke-virtual·{v3},·Landroid/media/Image;->getPlanes()[Landroid/media/Image$Plane; |
49 |
····move-result-object·v |
50 | ····move-result-object·v5 |
50 |
····const/4·v |
51 | ····const/4·v6,·0x0 |
51 |
····aget-object·v |
52 | ····aget-object·v5,·v5,·v6 |
52 |
····invoke-virtual·{v |
53 | ····invoke-virtual·{v5},·Landroid/media/Image$Plane;->getBuffer()Ljava/nio/ByteBuffer; |
53 | ····move-result-object·v0 | 54 | ····move-result-object·v0 |
54 | ····.line·130 | 55 | ····.line·130 |
55 | ····.local·v0,·"buffer":Ljava/nio/ByteBuffer; | 56 | ····.local·v0,·"buffer":Ljava/nio/ByteBuffer; |
56 | ····invoke-virtual·{v0},·Ljava/nio/ByteBuffer;->remaining()I | 57 | ····invoke-virtual·{v0},·Ljava/nio/ByteBuffer;->remaining()I |
57 |
····move-result·v |
58 | ····move-result·v5 |
58 |
····new-array·v1,·v |
59 | ····new-array·v1,·v5,·[B |
59 | ····.line·131 | 60 | ····.line·131 |
60 | ····.local·v1,·"bytes":[B | 61 | ····.local·v1,·"bytes":[B |
61 | ····invoke-virtual·{v0,·v1},·Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer; | 62 | ····invoke-virtual·{v0,·v1},·Ljava/nio/ByteBuffer;->get([B)Ljava/nio/ByteBuffer; |
62 | ····:try_end_0 | 63 | ····:try_end_0 |
63 | ····.catch·Ljava/lang/Throwable;·{:try_start_0·..·:try_end_0}·:catch_2 | 64 | ····.catch·Ljava/lang/Throwable;·{:try_start_0·..·:try_end_0}·:catch_2 |
64 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_2 | 65 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_2 |
65 | ····.line·132 | 66 | ····.line·132 |
66 | ····:try_start_1 | 67 | ····:try_start_1 |
67 | ····new-instance·v4,·Ljava/io/FileOutputStream; | 68 | ····new-instance·v4,·Ljava/io/FileOutputStream; |
68 |
····iget-object·v |
69 | ····iget-object·v5,·p0,·Lcom/termux/api/PhotoAPI$4$1;->this$0:Lcom/termux/api/PhotoAPI$4; |
69 |
····iget-object·v |
70 | ····iget-object·v5,·v5,·Lcom/termux/api/PhotoAPI$4;->val$outputFile:Ljava/io/File; |
70 |
····invoke-direct·{v4,·v |
71 | ····invoke-direct·{v4,·v5},·Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V |
71 | ····:try_end_1 | 72 | ····:try_end_1 |
72 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_1 | 73 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_1 |
73 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 | 74 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_1 |
74 | ····.local·v4,·"output":Ljava/io/FileOutputStream; | 75 | ····.local·v4,·"output":Ljava/io/FileOutputStream; |
75 |
····const/4·v |
76 | ····const/4·v5,·0x0 |
76 | ····.line·133 | 77 | ····.line·133 |
77 | ····:try_start_2 | 78 | ····:try_start_2 |
78 | ····invoke-virtual·{v4,·v1},·Ljava/io/FileOutputStream;->write([B)V | 79 | ····invoke-virtual·{v4,·v1},·Ljava/io/FileOutputStream;->write([B)V |
79 | ····:try_end_2 | 80 | ····:try_end_2 |
80 | ····.catch·Ljava/lang/Throwable;·{:try_start_2·..·:try_end_2}·:catch_3 | 81 | ····.catch·Ljava/lang/Throwable;·{:try_start_2·..·:try_end_2}·:catch_3 |
81 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_4 | 82 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_4 |
82 | ····.line·134 | 83 | ····.line·134 |
83 | ····if-eqz·v4,·:cond_0 | 84 | ····if-eqz·v4,·:cond_0 |
84 |
····if-eqz·v |
85 | ····if-eqz·v7,·:cond_3 |
85 | ····:try_start_3 | 86 | ····:try_start_3 |
86 | ····invoke-virtual·{v4},·Ljava/io/FileOutputStream;->close()V | 87 | ····invoke-virtual·{v4},·Ljava/io/FileOutputStream;->close()V |
87 | ····:try_end_3 | 88 | ····:try_end_3 |
88 | ····.catch·Ljava/lang/Throwable;·{:try_start_3·..·:try_end_3}·:catch_0 | 89 | ····.catch·Ljava/lang/Throwable;·{:try_start_3·..·:try_end_3}·:catch_0 |
89 | ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_1 | 90 | ····.catch·Ljava/lang/Exception;·{:try_start_3·..·:try_end_3}·:catch_1 |
90 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 | 91 | ····.catchall·{:try_start_3·..·:try_end_3}·:catchall_1 |
Max diff block lines reached; 11338/14953 bytes (75.82%) of diff not shown. |
Offset 54, 12 lines modified | Offset 54, 13 lines modified | ||
54 | ····.prologue | 54 | ····.prologue |
55 | ····.line·125 | 55 | ····.line·125 |
56 | ····new-instance·v0,·Lcom/termux/api/PhotoAPI$4$1; | 56 | ····new-instance·v0,·Lcom/termux/api/PhotoAPI$4$1; |
57 | ····invoke-direct·{v0,·p0,·p1},·Lcom/termux/api/PhotoAPI$4$1;-><init>(Lcom/termux/api/PhotoAPI$4;Landroid/media/ImageReader;)V | 57 | ····invoke-direct·{v0,·p0,·p1},·Lcom/termux/api/PhotoAPI$4$1;-><init>(Lcom/termux/api/PhotoAPI$4;Landroid/media/ImageReader;)V |
58 | ····.line·142 | ||
58 | ····invoke-virtual·{v0},·Lcom/termux/api/PhotoAPI$4$1;->start()V | 59 | ····invoke-virtual·{v0},·Lcom/termux/api/PhotoAPI$4$1;->start()V |
59 | ····.line·143 | 60 | ····.line·143 |
60 | ····return-void | 61 | ····return-void |
61 | .end·method | 62 | .end·method |
Offset 168, 14 lines modified | Offset 168, 15 lines modified | ||
168 | ····invoke-static·{v6},·Lcom/termux/api/util/TermuxApiLogger;->info(Ljava/lang/String;)V | 168 | ····invoke-static·{v6},·Lcom/termux/api/util/TermuxApiLogger;->info(Ljava/lang/String;)V |
169 | ····.line·203 | 169 | ····.line·203 |
170 | ····:goto_2 | 170 | ····:goto_2 |
171 | ····const-string·v6,·"window" | 171 | ····const-string·v6,·"window" |
172 | ····.line·204 | ||
172 | ····invoke-virtual·{p0,·v6},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | 173 | ····invoke-virtual·{p0,·v6},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
173 | ····move-result-object·v6 | 174 | ····move-result-object·v6 |
174 | ····check-cast·v6,·Landroid/view/WindowManager; | 175 | ····check-cast·v6,·Landroid/view/WindowManager; |
175 | ····invoke-interface·{v6},·Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display; | 176 | ····invoke-interface·{v6},·Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display; |
Offset 191, 24 lines modified | Offset 192, 26 lines modified | ||
191 | ····packed-switch·v1,·:pswitch_data_0 | 192 | ····packed-switch·v1,·:pswitch_data_0 |
192 | ····.line·211 | 193 | ····.line·211 |
193 | ····const-string·v6,·"Default·display·has·unknown·rotation·%d.·Assuming·0·degrees." | 194 | ····const-string·v6,·"Default·display·has·unknown·rotation·%d.·Assuming·0·degrees." |
194 | ····new-array·v9,·v7,·[Ljava/lang/Object; | 195 | ····new-array·v9,·v7,·[Ljava/lang/Object; |
196 | ····.line·212 | ||
195 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; | 197 | ····invoke-static·{v1},·Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
196 | ····move-result-object·v10 | 198 | ····move-result-object·v10 |
197 | ····aput-object·v10,·v9,·v8 | 199 | ····aput-object·v10,·v9,·v8 |
198 | ····invoke-static·{v6,·v9},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; | 200 | ····invoke-static·{v6,·v9},·Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
199 | ····move-result-object·v6 | 201 | ····move-result-object·v6 |
202 | ····.line·211 | ||
200 | ····invoke-static·{v6},·Lcom/termux/api/util/TermuxApiLogger;->info(Ljava/lang/String;)V | 203 | ····invoke-static·{v6},·Lcom/termux/api/util/TermuxApiLogger;->info(Ljava/lang/String;)V |
201 | ····.line·213 | 204 | ····.line·213 |
202 | ····const/4·v0,·0x0 | 205 | ····const/4·v0,·0x0 |
203 | ····.line·215 | 206 | ····.line·215 |
204 | ····.local·v0,·"deviceOrientation":I | 207 | ····.local·v0,·"deviceOrientation":I |
Offset 402, 15 lines modified | Offset 405, 15 lines modified | ||
402 | ····invoke-static·{p0,·p2,·v4},·Lcom/termux/api/util/ResultReturner;->returnData(Ljava/lang/Object;Landroid/content/Intent;Lcom/termux/api/util/ResultReturner$ResultWriter;)V | 405 | ····invoke-static·{p0,·p2,·v4},·Lcom/termux/api/util/ResultReturner;->returnData(Ljava/lang/Object;Landroid/content/Intent;Lcom/termux/api/util/ResultReturner$ResultWriter;)V |
403 | ····.line·54 | 406 | ····.line·54 |
404 | ····return-void | 407 | ····return-void |
405 | .end·method | 408 | .end·method |
406 | .method·static·proceedWithOpenedCamera(Landroid/content/Context;Landroid/hardware/camera2/CameraManager;Landroid/hardware/camera2/CameraDevice;Ljava/io/File;Landroid/os/Looper;Ljava/io/PrintWriter;)V | 409 | .method·static·proceedWithOpenedCamera(Landroid/content/Context;Landroid/hardware/camera2/CameraManager;Landroid/hardware/camera2/CameraDevice;Ljava/io/File;Landroid/os/Looper;Ljava/io/PrintWriter;)V |
407 |
····.locals· |
410 | ····.locals·19 |
408 | ····.param·p0,·"context"····#·Landroid/content/Context; | 411 | ····.param·p0,·"context"····#·Landroid/content/Context; |
409 | ····.param·p1,·"manager"····#·Landroid/hardware/camera2/CameraManager; | 412 | ····.param·p1,·"manager"····#·Landroid/hardware/camera2/CameraManager; |
410 | ····.param·p2,·"camera"····#·Landroid/hardware/camera2/CameraDevice; | 413 | ····.param·p2,·"camera"····#·Landroid/hardware/camera2/CameraDevice; |
411 | ····.param·p3,·"outputFile"····#·Ljava/io/File; | 414 | ····.param·p3,·"outputFile"····#·Ljava/io/File; |
412 | ····.param·p4,·"looper"····#·Landroid/os/Looper; | 415 | ····.param·p4,·"looper"····#·Landroid/os/Looper; |
413 | ····.param·p5,·"stdout"····#·Ljava/io/PrintWriter; | 416 | ····.param·p5,·"stdout"····#·Ljava/io/PrintWriter; |
414 | ····.annotation·system·Ldalvik/annotation/Throws; | 417 | ····.annotation·system·Ldalvik/annotation/Throws; |
Offset 418, 168 lines modified | Offset 421, 157 lines modified | ||
418 | ············Landroid/hardware/camera2/CameraAccessException;, | 421 | ············Landroid/hardware/camera2/CameraAccessException;, |
419 | ············Ljava/lang/IllegalArgumentException; | 422 | ············Ljava/lang/IllegalArgumentException; |
420 | ········} | 423 | ········} |
421 | ····.end·annotation | 424 | ····.end·annotation |
422 | ····.prologue | 425 | ····.prologue |
423 | ····.line·97 | 426 | ····.line·97 |
424 |
····new-instance·v1 |
427 | ····new-instance·v16,·Ljava/util/ArrayList; |
425 |
····invoke-direct/range·{v1 |
428 | ····invoke-direct/range·{v16·..·v16},·Ljava/util/ArrayList;-><init>()V |
426 | ····.line·99 | 429 | ····.line·99 |
427 |
····.local·v1 |
430 | ····.local·v16,·"outputSurfaces":Ljava/util/List;,·"Ljava/util/List<Landroid/view/Surface;>;" |
428 | ····invoke-virtual/range·{p2·..·p2},·Landroid/hardware/camera2/CameraDevice;->getId()Ljava/lang/String; | 431 | ····invoke-virtual/range·{p2·..·p2},·Landroid/hardware/camera2/CameraDevice;->getId()Ljava/lang/String; |
429 | ····move-result-object·v4 | 432 | ····move-result-object·v4 |
430 | ····move-object/from16·v0,·p1 | 433 | ····move-object/from16·v0,·p1 |
431 | ····invoke-virtual·{v0,·v4},·Landroid/hardware/camera2/CameraManager;->getCameraCharacteristics(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics; | 434 | ····invoke-virtual·{v0,·v4},·Landroid/hardware/camera2/CameraManager;->getCameraCharacteristics(Ljava/lang/String;)Landroid/hardware/camera2/CameraCharacteristics; |
432 | ····move-result-object·v9 | 435 | ····move-result-object·v9 |
433 | ····.line·101 | 436 | ····.line·101 |
434 | ····.local·v9,·"characteristics":Landroid/hardware/camera2/CameraCharacteristics; | 437 | ····.local·v9,·"characteristics":Landroid/hardware/camera2/CameraCharacteristics; |
435 |
····const/4·v1 |
438 | ····const/4·v11,·0x0 |
436 | ····.line·102 | 439 | ····.line·102 |
437 |
····.local·v1 |
440 | ····.local·v11,·"autoExposureMode":I |
438 | ····sget-object·v4,·Landroid/hardware/camera2/CameraCharacteristics;->CONTROL_AE_AVAILABLE_MODES:Landroid/hardware/camera2/CameraCharacteristics$Key; | 441 | ····sget-object·v4,·Landroid/hardware/camera2/CameraCharacteristics;->CONTROL_AE_AVAILABLE_MODES:Landroid/hardware/camera2/CameraCharacteristics$Key; |
439 | ····invoke-virtual·{v9,·v4},·Landroid/hardware/camera2/CameraCharacteristics;->get(Landroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object; | 442 | ····invoke-virtual·{v9,·v4},·Landroid/hardware/camera2/CameraCharacteristics;->get(Landroid/hardware/camera2/CameraCharacteristics$Key;)Ljava/lang/Object; |
440 |
····move-result-object·v |
443 | ····move-result-object·v4 |
441 | ····check-cast·v11,·[I | ||
442 |
···· |
444 | ····check-cast·v4,·[I |
443 | ····array-length·v0,·v11 | ||
Max diff block lines reached; 5841/9679 bytes (60.35%) of diff not shown. |
Offset 22, 10 lines modified | Offset 22, 9 lines modified | ||
22 | .method·public·constructor·<init>()V | 22 | .method·public·constructor·<init>()V |
23 | ····.locals·0 | 23 | ····.locals·0 |
24 | ····.prologue | 24 | ····.prologue |
25 | ····.line·10 | 25 | ····.line·10 |
26 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 26 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
27 | ····.line·50 | ||
28 | ····return-void | 27 | ····return-void |
29 | .end·method | 28 | .end·method |
Offset 15, 15 lines modified | Offset 15, 14 lines modified | ||
15 | .method·public·constructor·<init>()V | 15 | .method·public·constructor·<init>()V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·21 | 18 | ····.line·21 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·120 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
23 | .method·static·onReceive(Lcom/termux/api/TermuxApiReceiver;Landroid/content/Context;Landroid/content/Intent;)V | 22 | .method·static·onReceive(Lcom/termux/api/TermuxApiReceiver;Landroid/content/Context;Landroid/content/Intent;)V |
24 | ····.locals·10 | 23 | ····.locals·10 |
25 | ····.param·p0,·"apiReceiver"····#·Lcom/termux/api/TermuxApiReceiver; | 24 | ····.param·p0,·"apiReceiver"····#·Lcom/termux/api/TermuxApiReceiver; |
26 | ····.param·p1,·"context"····#·Landroid/content/Context; | 25 | ····.param·p1,·"context"····#·Landroid/content/Context; |
Offset 35, 15 lines modified | Offset 35, 15 lines modified | ||
35 | ····.line·33 | 35 | ····.line·33 |
36 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 36 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
37 | ····return-void | 37 | ····return-void |
38 | .end·method | 38 | .end·method |
39 | .method·public·static·getAllSms(Landroid/content/Context;Landroid/util/JsonWriter;II)V | 39 | .method·public·static·getAllSms(Landroid/content/Context;Landroid/util/JsonWriter;II)V |
40 |
····.locals·2 |
40 | ····.locals·20 |
41 | ····.param·p0,·"context"····#·Landroid/content/Context; | 41 | ····.param·p0,·"context"····#·Landroid/content/Context; |
42 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; | 42 | ····.param·p1,·"out"····#·Landroid/util/JsonWriter; |
43 | ····.param·p2,·"offset"····#·I | 43 | ····.param·p2,·"offset"····#·I |
44 | ····.param·p3,·"limit"····#·I | 44 | ····.param·p3,·"limit"····#·I |
45 | ····.annotation·build·Landroid/annotation/SuppressLint; | 45 | ····.annotation·build·Landroid/annotation/SuppressLint; |
46 | ········value·=·{ | 46 | ········value·=·{ |
47 | ············"SimpleDateFormat" | 47 | ············"SimpleDateFormat" |
Offset 323, 24 lines modified | Offset 323, 20 lines modified | ||
323 | ····.line·92 | 323 | ····.line·92 |
324 | ····:cond_3 | 324 | ····:cond_3 |
325 | ····:goto_2 | 325 | ····:goto_2 |
326 | ····return-void | 326 | ····return-void |
327 | ····.line·91 | 327 | ····.line·91 |
328 | ····:catch_0 | 328 | ····:catch_0 |
329 |
····move-exception·v |
329 | ····move-exception·v3 |
330 | ····.local·v19,·"x2":Ljava/lang/Throwable; | ||
331 | ····move-object/from16·v0,·v19 | ||
332 |
····invoke-virtual·{v4,·v |
330 | ····invoke-virtual·{v4,·v3},·Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V |
333 | ····goto·:goto_2 | 331 | ····goto·:goto_2 |
334 | ····.end·local·v19····#·"x2":Ljava/lang/Throwable; | ||
335 | ····:cond_4 | 332 | ····:cond_4 |
336 | ····invoke-interface·{v8},·Landroid/database/Cursor;->close()V | 333 | ····invoke-interface·{v8},·Landroid/database/Cursor;->close()V |
337 | ····goto·:goto_2 | 334 | ····goto·:goto_2 |
338 | ····.line·53 | 335 | ····.line·53 |
339 | ····.end·local·v9····#·"count":I | 336 | ····.end·local·v9····#·"count":I |
Offset 355, 19 lines modified | Offset 351, 19 lines modified | ||
355 | ····:try_end_2 | 351 | ····:try_end_2 |
356 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0 | 352 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_0 |
357 | ····.line·91 | 353 | ····.line·91 |
358 | ····:catchall_0 | 354 | ····:catchall_0 |
359 | ····move-exception·v4 | 355 | ····move-exception·v4 |
360 |
····move-object/from16·v |
356 | ····move-object/from16·v19,·v4 |
361 | ····move-object·v4,·v3 | 357 | ····move-object·v4,·v3 |
362 |
····move-object/from16·v3,·v |
358 | ····move-object/from16·v3,·v19 |
363 | ····:goto_3 | 359 | ····:goto_3 |
364 | ····if-eqz·v8,·:cond_5 | 360 | ····if-eqz·v8,·:cond_5 |
365 | ····if-eqz·v4,·:cond_6 | 361 | ····if-eqz·v4,·:cond_6 |
366 | ····:try_start_3 | 362 | ····:try_start_3 |
Offset 376, 37 lines modified | Offset 372, 33 lines modified | ||
376 | ····.catch·Ljava/lang/Throwable;·{:try_start_3·..·:try_end_3}·:catch_2 | 372 | ····.catch·Ljava/lang/Throwable;·{:try_start_3·..·:try_end_3}·:catch_2 |
377 | ····:cond_5 | 373 | ····:cond_5 |
378 | ····:goto_4 | 374 | ····:goto_4 |
379 | ····throw·v3 | 375 | ····throw·v3 |
380 | ····:catch_2 | 376 | ····:catch_2 |
381 |
····move-exception·v |
377 | ····move-exception·v5 |
382 | ····.restart·local·v19····#·"x2":Ljava/lang/Throwable; | ||
383 | ····move-object/from16·v0,·v19 | ||
384 |
····invoke-virtual·{v4,·v |
378 | ····invoke-virtual·{v4,·v5},·Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V |
385 | ····goto·:goto_4 | 379 | ····goto·:goto_4 |
386 | ····.end·local·v19····#·"x2":Ljava/lang/Throwable; | ||
387 | ····:cond_6 | 380 | ····:cond_6 |
388 | ····invoke-interface·{v8},·Landroid/database/Cursor;->close()V | 381 | ····invoke-interface·{v8},·Landroid/database/Cursor;->close()V |
389 | ····goto·:goto_4 | 382 | ····goto·:goto_4 |
390 | ····:catchall_1 | 383 | ····:catchall_1 |
391 | ····move-exception·v3 | 384 | ····move-exception·v3 |
392 | ····goto·:goto_3 | 385 | ····goto·:goto_3 |
393 | .end·method | 386 | .end·method |
394 | .method·private·static·getContactNameFromNumber(Ljava/util/Map;Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; | 387 | .method·private·static·getContactNameFromNumber(Ljava/util/Map;Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String; |
395 |
····.locals· |
388 | ····.locals·8 |
396 | ····.param·p1,·"context"····#·Landroid/content/Context; | 389 | ····.param·p1,·"context"····#·Landroid/content/Context; |
397 | ····.param·p2,·"number"····#·Ljava/lang/String; | 390 | ····.param·p2,·"number"····#·Ljava/lang/String; |
398 | ····.annotation·system·Ldalvik/annotation/Signature; | 391 | ····.annotation·system·Ldalvik/annotation/Signature; |
399 | ········value·=·{ | 392 | ········value·=·{ |
400 | ············"(", | 393 | ············"(", |
401 | ············"Ljava/util/Map", | 394 | ············"Ljava/util/Map", |
402 | ············"<", | 395 | ············"<", |
Offset 434, 15 lines modified | Offset 426, 15 lines modified | ||
Max diff block lines reached; 1943/4645 bytes (41.83%) of diff not shown. |
Offset 30, 97 lines modified | Offset 30, 92 lines modified | ||
30 | ····return-void | 30 | ····return-void |
31 | .end·method | 31 | .end·method |
32 | #·virtual·methods | 32 | #·virtual·methods |
33 | .method·public·writeResult(Ljava/io/PrintWriter;)V | 33 | .method·public·writeResult(Ljava/io/PrintWriter;)V |
34 |
····.locals· |
34 | ····.locals·9 |
35 | ····.param·p1,·"out"····#·Ljava/io/PrintWriter; | 35 | ····.param·p1,·"out"····#·Ljava/io/PrintWriter; |
36 | ····.annotation·system·Ldalvik/annotation/Throws; | 36 | ····.annotation·system·Ldalvik/annotation/Throws; |
37 | ········value·=·{ | 37 | ········value·=·{ |
38 | ············Ljava/lang/Exception; | 38 | ············Ljava/lang/Exception; |
39 | ········} | 39 | ········} |
40 | ····.end·annotation | 40 | ····.end·annotation |
41 | ····.prologue | 41 | ····.prologue |
42 | ····const/4·v3,·0x0 | ||
42 | ····const/4·v2,·0x0 | 43 | ····const/4·v2,·0x0 |
43 | ····.line·17 | 44 | ····.line·17 |
44 | ····invoke-static·{},·Landroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager; | 45 | ····invoke-static·{},·Landroid/telephony/SmsManager;->getDefault()Landroid/telephony/SmsManager; |
45 | ····move-result-object·v0 | 46 | ····move-result-object·v0 |
46 | ····.line·18 | 47 | ····.line·18 |
47 | ····.local·v0,·"smsManager":Landroid/telephony/SmsManager; | 48 | ····.local·v0,·"smsManager":Landroid/telephony/SmsManager; |
48 |
····iget-object·v |
49 | ····iget-object·v4,·p0,·Lcom/termux/api/SmsSendAPI$1;->val$intent:Landroid/content/Intent; |
49 |
····const-string·v |
50 | ····const-string·v5,·"recipients" |
50 |
····invoke-virtual·{v |
51 | ····invoke-virtual·{v4,·v5},·Landroid/content/Intent;->getStringArrayExtra(Ljava/lang/String;)[Ljava/lang/String; |
51 |
····move-result-object·v |
52 | ····move-result-object·v6 |
52 | ····.line·20 | 53 | ····.line·20 |
53 |
····.local·v |
54 | ····.local·v6,·"recipients":[Ljava/lang/String; |
54 |
····if-nez·v |
55 | ····if-nez·v6,·:cond_0 |
55 | ····.line·22 | 56 | ····.line·22 |
56 |
····iget-object·v |
57 | ····iget-object·v4,·p0,·Lcom/termux/api/SmsSendAPI$1;->val$intent:Landroid/content/Intent; |
57 |
····const-string·v |
58 | ····const-string·v5,·"recipient" |
58 |
····invoke-virtual·{v |
59 | ····invoke-virtual·{v4,·v5},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; |
59 | ····move-result-object·v1 | 60 | ····move-result-object·v1 |
60 | ····.line·23 | 61 | ····.line·23 |
61 | ····.local·v1,·"recipient":Ljava/lang/String; | 62 | ····.local·v1,·"recipient":Ljava/lang/String; |
62 | ····if-eqz·v1,·:cond_0 | 63 | ····if-eqz·v1,·:cond_0 |
63 |
····const/4·v |
64 | ····const/4·v4,·0x1 |
64 | ····new-array·v9,·v3,·[Ljava/lang/String; | ||
65 |
···· |
65 | ····new-array·v6,·v4,·[Ljava/lang/String; |
66 | ····const/4·v3,·0x0 | ||
67 |
····a |
66 | ····.end·local·v6····#·"recipients":[Ljava/lang/String; |
67 | ····aput-object·v1,·v6,·v3 | ||
68 | ····.line·26 | 68 | ····.line·26 |
69 | ····.end·local·v1····#·"recipient":Ljava/lang/String; | 69 | ····.end·local·v1····#·"recipient":Ljava/lang/String; |
70 |
····.restart·local·v |
70 | ····.restart·local·v6····#·"recipients":[Ljava/lang/String; |
71 | ····:cond_0 | 71 | ····:cond_0 |
72 |
····if-eqz·v |
72 | ····if-eqz·v6,·:cond_1 |
73 |
····array-length·v |
73 | ····array-length·v4,·v6 |
74 |
····if-nez·v |
74 | ····if-nez·v4,·:cond_3 |
75 | ····.line·27 | 75 | ····.line·27 |
76 | ····:cond_1 | 76 | ····:cond_1 |
77 | ····const-string·v2,·"No·recipient·given" | 77 | ····const-string·v2,·"No·recipient·given" |
78 | ····invoke-static·{v2},·Lcom/termux/api/util/TermuxApiLogger;->error(Ljava/lang/String;)V | 78 | ····invoke-static·{v2},·Lcom/termux/api/util/TermuxApiLogger;->error(Ljava/lang/String;)V |
79 | ····.line·33 | 79 | ····.line·33 |
80 | ····:cond_2 | 80 | ····:cond_2 |
81 | ····return-void | 81 | ····return-void |
82 | ····.line·29 | 82 | ····.line·29 |
83 | ····:cond_3 | 83 | ····:cond_3 |
84 | ····move-object·v6,·v9 | ||
85 | ····.local·v6,·"arr$":[Ljava/lang/String; | ||
86 | ····array-length·v8,·v6 | 84 | ····array-length·v8,·v6 |
87 |
···· |
85 | ····move·v7,·v3 |
88 | ····const/4·v7,·0x0 | ||
89 | ····.local·v7,·"i$":I | ||
90 | ····:goto_0 | 86 | ····:goto_0 |
91 | ····if-ge·v7,·v8,·:cond_2 | 87 | ····if-ge·v7,·v8,·:cond_2 |
92 | ····aget-object·v1,·v6,·v7 | 88 | ····aget-object·v1,·v6,·v7 |
93 | ····.line·30 | 89 | ····.line·30 |
Max diff block lines reached; 399/3587 bytes (11.12%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | 21 | .field·final·synthetic·this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;)V | 23 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·48 | 27 | ····.line·48 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$1;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$1;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 22, 14 lines modified | Offset 22, 15 lines modified | ||
22 | .field·final·synthetic·val$context:Landroid/content/Context; | 22 | .field·final·synthetic·val$context:Landroid/content/Context; |
23 | #·direct·methods | 23 | #·direct·methods |
24 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;Landroid/content/Context;)V | 24 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;Landroid/content/Context;)V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.param·p1,·"this$0"····#·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | ||
26 | ····.prologue | 27 | ····.prologue |
27 | ····.line·125 | 28 | ····.line·125 |
28 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | 29 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; |
29 | ····iput-object·p2,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2;->val$context:Landroid/content/Context; | 30 | ····iput-object·p2,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2;->val$context:Landroid/content/Context; |
Offset 17, 14 lines modified | Offset 17, 15 lines modified | ||
17 | #·instance·fields | 17 | #·instance·fields |
18 | .field·final·synthetic·this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | 18 | .field·final·synthetic·this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; |
19 | #·direct·methods | 19 | #·direct·methods |
20 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;)V | 20 | .method·constructor·<init>(Lcom/termux/api/SpeechToTextAPI$SpeechToTextService;)V |
21 | ····.locals·0 | 21 | ····.locals·0 |
22 | ····.param·p1,·"this$0"····#·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | ||
22 | ····.prologue | 23 | ····.prologue |
23 | ····.line·159 | 24 | ····.line·159 |
24 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$3;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; | 25 | ····iput-object·p1,·p0,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$3;->this$0:Lcom/termux/api/SpeechToTextAPI$SpeechToTextService; |
25 | ····invoke-direct·{p0},·Lcom/termux/api/util/ResultReturner$WithInput;-><init>()V | 26 | ····invoke-direct·{p0},·Lcom/termux/api/util/ResultReturner$WithInput;-><init>()V |
Offset 15, 15 lines modified | Offset 15, 14 lines modified | ||
15 | .method·public·constructor·<init>()V | 15 | .method·public·constructor·<init>()V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·24 | 18 | ····.line·24 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·26 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
23 | .method·public·static·onReceive(Landroid/content/Context;Landroid/content/Intent;)V | 22 | .method·public·static·onReceive(Landroid/content/Context;Landroid/content/Intent;)V |
24 | ····.locals·2 | 23 | ····.locals·2 |
25 | ····.param·p0,·"context"····#·Landroid/content/Context; | 24 | ····.param·p0,·"context"····#·Landroid/content/Context; |
26 | ····.param·p1,·"intent"····#·Landroid/content/Intent; | 25 | ····.param·p1,·"intent"····#·Landroid/content/Intent; |
Offset 133, 14 lines modified | Offset 132, 15 lines modified | ||
133 | ····invoke-virtual·{v4,·v5},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; | 132 | ····invoke-virtual·{v4,·v5},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
134 | ····move-result-object·v4 | 133 | ····move-result-object·v4 |
135 | ····const-string·v5,·"Install·Voice·Search·from·Google·Play?" | 134 | ····const-string·v5,·"Install·Voice·Search·from·Google·Play?" |
135 | ····.line·193 | ||
136 | ····invoke-virtual·{v4,·v5},·Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; | 136 | ····invoke-virtual·{v4,·v5},·Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
137 | ····move-result-object·v4 | 137 | ····move-result-object·v4 |
138 | ····const-string·v5,·"Install" | 138 | ····const-string·v5,·"Install" |
139 | ····new-instance·v6,·Lcom/termux/api/SpeechToTextAPI$1; | 139 | ····new-instance·v6,·Lcom/termux/api/SpeechToTextAPI$1; |
Offset 151, 18 lines modified | Offset 151, 20 lines modified | ||
151 | ····move-result-object·v4 | 151 | ····move-result-object·v4 |
152 | ····const-string·v5,·"Cancel" | 152 | ····const-string·v5,·"Cancel" |
153 | ····const/4·v6,·0x0 | 153 | ····const/4·v6,·0x0 |
154 | ····.line·203 | ||
154 | ····invoke-virtual·{v4,·v5,·v6},·Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 155 | ····invoke-virtual·{v4,·v5,·v6},·Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
155 | ····move-result-object·v4 | 156 | ····move-result-object·v4 |
157 | ····.line·204 | ||
156 | ····invoke-virtual·{v4},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; | 158 | ····invoke-virtual·{v4},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; |
157 | ····move-result-object·v4 | 159 | ····move-result-object·v4 |
158 | ····invoke-virtual·{v4},·Landroid/app/AlertDialog;->show()V | 160 | ····invoke-virtual·{v4},·Landroid/app/AlertDialog;->show()V |
159 | ····goto·:goto_0 | 161 | ····goto·:goto_0 |
Offset 40, 46 lines modified | Offset 40, 45 lines modified | ||
40 | ········value·=·{ | 40 | ········value·=·{ |
41 | ············Ljava/lang/Exception; | 41 | ············Ljava/lang/Exception; |
42 | ········} | 42 | ········} |
43 | ····.end·annotation | 43 | ····.end·annotation |
44 | ····.prologue | 44 | ····.prologue |
45 | ····.line·31 | 45 | ····.line·31 |
46 |
····iget-object·v |
46 | ····iget-object·v6,·p0,·Lcom/termux/api/TelephonyAPI$1;->val$context:Landroid/content/Context; |
47 |
····const-string·v |
47 | ····const-string·v7,·"phone" |
48 |
····invoke-virtual·{v |
48 | ····invoke-virtual·{v6,·v7},·Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; |
49 |
····move-result-object·v |
49 | ····move-result-object·v4 |
50 |
····check-cast·v |
50 | ····check-cast·v4,·Landroid/telephony/TelephonyManager; |
51 | ····.line·32 | 51 | ····.line·32 |
52 |
····.local·v |
52 | ····.local·v4,·"manager":Landroid/telephony/TelephonyManager; |
53 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; | 53 | ····invoke-virtual·{p1},·Landroid/util/JsonWriter;->beginArray()Landroid/util/JsonWriter; |
54 | ····.line·34 | 54 | ····.line·34 |
55 |
····invoke-virtual·{v |
55 | ····invoke-virtual·{v4},·Landroid/telephony/TelephonyManager;->getAllCellInfo()Ljava/util/List; |
56 |
····move-result-object·v |
56 | ····move-result-object·v6 |
57 |
····invoke-interface·{v |
57 | ····invoke-interface·{v6},·Ljava/util/List;->iterator()Ljava/util/Iterator; |
58 |
····move-result-object·v |
58 | ····move-result-object·v6 |
59 | ····.local·v3,·"i$":Ljava/util/Iterator; | ||
60 | ····:goto_0 | 59 | ····:goto_0 |
61 |
····invoke-interface·{v |
60 | ····invoke-interface·{v6},·Ljava/util/Iterator;->hasNext()Z |
62 | ····move-result·v7 | 61 | ····move-result·v7 |
63 | ····if-eqz·v7,·:cond_4 | 62 | ····if-eqz·v7,·:cond_4 |
64 |
····invoke-interface·{v |
63 | ····invoke-interface·{v6},·Ljava/util/Iterator;->next()Ljava/lang/Object; |
65 | ····move-result-object·v1 | 64 | ····move-result-object·v1 |
66 | ····check-cast·v1,·Landroid/telephony/CellInfo; | 65 | ····check-cast·v1,·Landroid/telephony/CellInfo; |
67 | ····.line·35 | 66 | ····.line·35 |
68 | ····.local·v1,·"cellInfo":Landroid/telephony/CellInfo; | 67 | ····.local·v1,·"cellInfo":Landroid/telephony/CellInfo; |
Offset 238, 21 lines modified | Offset 237, 21 lines modified | ||
238 | ····.line·49 | 237 | ····.line·49 |
239 | ····:cond_1 | 238 | ····:cond_1 |
240 | ····instance-of·v7,·v1,·Landroid/telephony/CellInfoLte; | 239 | ····instance-of·v7,·v1,·Landroid/telephony/CellInfoLte; |
241 | ····if-eqz·v7,·:cond_2 | 240 | ····if-eqz·v7,·:cond_2 |
242 |
····move-object·v |
241 | ····move-object·v3,·v1 |
243 | ····.line·50 | 242 | ····.line·50 |
244 |
····check-cast·v |
243 | ····check-cast·v3,·Landroid/telephony/CellInfoLte; |
245 | ····.line·51 | 244 | ····.line·51 |
246 |
····.local·v |
245 | ····.local·v3,·"lteInfo":Landroid/telephony/CellInfoLte; |
247 | ····const-string·v7,·"type" | 246 | ····const-string·v7,·"type" |
248 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | 247 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
249 | ····move-result-object·v7 | 248 | ····move-result-object·v7 |
250 | ····const-string·v8,·"lte" | 249 | ····const-string·v8,·"lte" |
Offset 275, 15 lines modified | Offset 274, 15 lines modified | ||
275 | ····.line·54 | 274 | ····.line·54 |
276 | ····const-string·v7,·"asu" | 275 | ····const-string·v7,·"asu" |
277 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | 276 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
278 | ····move-result-object·v7 | 277 | ····move-result-object·v7 |
279 |
····invoke-virtual·{v |
278 | ····invoke-virtual·{v3},·Landroid/telephony/CellInfoLte;->getCellSignalStrength()Landroid/telephony/CellSignalStrengthLte; |
280 | ····move-result-object·v8 | 279 | ····move-result-object·v8 |
281 | ····invoke-virtual·{v8},·Landroid/telephony/CellSignalStrengthLte;->getAsuLevel()I | 280 | ····invoke-virtual·{v8},·Landroid/telephony/CellSignalStrengthLte;->getAsuLevel()I |
282 | ····move-result·v8 | 281 | ····move-result·v8 |
Offset 294, 128 lines modified | Offset 293, 128 lines modified | ||
294 | ····.line·55 | 293 | ····.line·55 |
295 | ····const-string·v7,·"dbm" | 294 | ····const-string·v7,·"dbm" |
296 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; | 295 | ····invoke-virtual·{p1,·v7},·Landroid/util/JsonWriter;->name(Ljava/lang/String;)Landroid/util/JsonWriter; |
297 | ····move-result-object·v7 | 296 | ····move-result-object·v7 |
298 |
····invoke-virtual·{v |
297 | ····invoke-virtual·{v3},·Landroid/telephony/CellInfoLte;->getCellSignalStrength()Landroid/telephony/CellSignalStrengthLte; |
299 | ····move-result-object·v8 | 298 | ····move-result-object·v8 |
300 | ····invoke-virtual·{v8},·Landroid/telephony/CellSignalStrengthLte;->getDbm()I | 299 | ····invoke-virtual·{v8},·Landroid/telephony/CellSignalStrengthLte;->getDbm()I |
301 | ····move-result·v8 | 300 | ····move-result·v8 |
Max diff block lines reached; 11065/14908 bytes (74.22%) of diff not shown. |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; | 21 | .field·final·synthetic·this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService;)V | 23 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·67 | 27 | ····.line·67 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$1;->this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$1;->this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 19, 14 lines modified | Offset 19, 15 lines modified | ||
19 | .field·final·synthetic·val$ttsDoneUtterancesCount:Ljava/util/concurrent/atomic/AtomicInteger; | 19 | .field·final·synthetic·val$ttsDoneUtterancesCount:Ljava/util/concurrent/atomic/AtomicInteger; |
20 | #·direct·methods | 20 | #·direct·methods |
21 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;Ljava/util/concurrent/atomic/AtomicInteger;)V | 21 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;Ljava/util/concurrent/atomic/AtomicInteger;)V |
22 | ····.locals·0 | 22 | ····.locals·0 |
23 | ····.param·p1,·"this$1"····#·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2; | ||
23 | ····.prologue | 24 | ····.prologue |
24 | ····.line·114 | 25 | ····.line·114 |
25 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2$1;->this$1:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2; | 26 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2$1;->this$1:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2; |
26 | ····iput-object·p2,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2$1;->val$ttsDoneUtterancesCount:Ljava/util/concurrent/atomic/AtomicInteger; | 27 | ····iput-object·p2,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2$1;->val$ttsDoneUtterancesCount:Ljava/util/concurrent/atomic/AtomicInteger; |
Offset 27, 14 lines modified | Offset 27, 15 lines modified | ||
27 | .field·final·synthetic·val$streamToUse:I | 27 | .field·final·synthetic·val$streamToUse:I |
28 | #·direct·methods | 28 | #·direct·methods |
29 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService;Ljava/lang/String;Ljava/lang/String;FLandroid/content/Intent;I)V | 29 | .method·constructor·<init>(Lcom/termux/api/TextToSpeechAPI$TextToSpeechService;Ljava/lang/String;Ljava/lang/String;FLandroid/content/Intent;I)V |
30 | ····.locals·0 | 30 | ····.locals·0 |
31 | ····.param·p1,·"this$0"····#·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; | ||
31 | ····.prologue | 32 | ····.prologue |
32 | ····.line·79 | 33 | ····.line·79 |
33 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; | 34 | ····iput-object·p1,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; |
34 | ····iput-object·p2,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->val$speechEngine:Ljava/lang/String; | 35 | ····iput-object·p2,·p0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->val$speechEngine:Ljava/lang/String; |
Offset 50, 45 lines modified | Offset 51, 45 lines modified | ||
50 | ····return-void | 51 | ····return-void |
51 | .end·method | 52 | .end·method |
52 | #·virtual·methods | 53 | #·virtual·methods |
53 | .method·public·writeResult(Ljava/io/PrintWriter;)V | 54 | .method·public·writeResult(Ljava/io/PrintWriter;)V |
54 |
····.locals· |
55 | ····.locals·18 |
55 | ····.param·p1,·"out"····#·Ljava/io/PrintWriter; | 56 | ····.param·p1,·"out"····#·Ljava/io/PrintWriter; |
56 | ····.annotation·system·Ldalvik/annotation/Throws; | 57 | ····.annotation·system·Ldalvik/annotation/Throws; |
57 | ········value·=·{ | 58 | ········value·=·{ |
58 | ············Ljava/lang/Exception; | 59 | ············Ljava/lang/Exception; |
59 | ········} | 60 | ········} |
60 | ····.end·annotation | 61 | ····.end·annotation |
61 | ····.prologue | 62 | ····.prologue |
62 | ····.line·85 | 63 | ····.line·85 |
63 | ····:try_start_0 | 64 | ····:try_start_0 |
64 | ····move-object/from16·v0,·p0 | 65 | ····move-object/from16·v0,·p0 |
65 |
····iget-object·v1 |
66 | ····iget-object·v13,·v0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->this$0:Lcom/termux/api/TextToSpeechAPI$TextToSpeechService; |
66 |
····iget-object·v1 |
67 | ····iget-object·v13,·v13,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService;->mTtsLatch:Ljava/util/concurrent/CountDownLatch; |
67 |
····const-wide/16·v1 |
68 | ····const-wide/16·v14,·0xa |
68 |
····sget-object·v1 |
69 | ····sget-object·v16,·Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit; |
69 |
····invoke-virtual/range·{v1 |
70 | ····invoke-virtual/range·{v13·..·v16},·Ljava/util/concurrent/CountDownLatch;->await(JLjava/util/concurrent/TimeUnit;)Z |
70 |
····move-result·v1 |
71 | ····move-result·v13 |
71 |
····if-nez·v1 |
72 | ····if-nez·v13,·:cond_0 |
72 | ····.line·86 | 73 | ····.line·86 |
73 |
····const-string·v1 |
74 | ····const-string·v13,·"Timeout·waiting·for·TTS·initialization" |
74 |
····invoke-static·{v1 |
75 | ····invoke-static·{v13},·Lcom/termux/api/util/TermuxApiLogger;->error(Ljava/lang/String;)V |
75 | ····:try_end_0 | 76 | ····:try_end_0 |
76 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 | 77 | ····.catch·Ljava/lang/InterruptedException;·{:try_start_0·..·:try_end_0}·:catch_0 |
77 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1 | 78 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1 |
78 | ····.line·173 | 79 | ····.line·173 |
79 | ····:goto_0 | 80 | ····:goto_0 |
80 | ····return-void | 81 | ····return-void |
Offset 96, 648 lines modified | Offset 97, 602 lines modified | ||
96 | ····.line·89 | 97 | ····.line·89 |
97 | ····:catch_0 | 98 | ····:catch_0 |
98 | ····move-exception·v3 | 99 | ····move-exception·v3 |
99 | ····.line·90 | 100 | ····.line·90 |
100 | ····.local·v3,·"e":Ljava/lang/InterruptedException; | 101 | ····.local·v3,·"e":Ljava/lang/InterruptedException; |
101 | ····:try_start_1 | 102 | ····:try_start_1 |
102 |
····const-string·v1 |
103 | ····const-string·v13,·"Interrupted·awaiting·TTS·initialization" |
103 |
····invoke-static·{v1 |
104 | ····invoke-static·{v13},·Lcom/termux/api/util/TermuxApiLogger;->error(Ljava/lang/String;)V |
104 | ····:try_end_1 | 105 | ····:try_end_1 |
105 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_1 | 106 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_1 |
106 | ····goto·:goto_0 | 107 | ····goto·:goto_0 |
107 | ····.line·170 | 108 | ····.line·170 |
108 | ····.end·local·v3····#·"e":Ljava/lang/InterruptedException; | 109 | ····.end·local·v3····#·"e":Ljava/lang/InterruptedException; |
109 | ····:catch_1 | 110 | ····:catch_1 |
110 | ····move-exception·v3 | 111 | ····move-exception·v3 |
111 | ····.line·171 | 112 | ····.line·171 |
112 | ····.local·v3,·"e":Ljava/lang/Exception; | 113 | ····.local·v3,·"e":Ljava/lang/Exception; |
113 |
····const-string·v1 |
114 | ····const-string·v13,·"TTS·error" |
114 |
····invoke-static·{v1 |
115 | ····invoke-static·{v13,·v3},·Lcom/termux/api/util/TermuxApiLogger;->error(Ljava/lang/String;Ljava/lang/Exception;)V |
115 | ····goto·:goto_0 | 116 | ····goto·:goto_0 |
116 | ····.line·94 | 117 | ····.line·94 |
117 | ····.end·local·v3····#·"e":Ljava/lang/Exception; | 118 | ····.end·local·v3····#·"e":Ljava/lang/Exception; |
118 | ····:cond_0 | 119 | ····:cond_0 |
119 | ····:try_start_2 | 120 | ····:try_start_2 |
120 |
····const-string·v1 |
121 | ····const-string·v13,·"LIST_AVAILABLE" |
121 | ····move-object/from16·v0,·p0 | 122 | ····move-object/from16·v0,·p0 |
122 |
····iget-object·v |
123 | ····iget-object·v14,·v0,·Lcom/termux/api/TextToSpeechAPI$TextToSpeechService$2;->val$speechEngine:Ljava/lang/String; |
Max diff block lines reached; 29289/33585 bytes (87.21%) of diff not shown. |
Offset 144, 14 lines modified | Offset 144, 15 lines modified | ||
144 | ····invoke-virtual·{v6,·v7},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; | 144 | ····invoke-virtual·{v6,·v7},·Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
145 | ····move-result-object·v6 | 145 | ····move-result-object·v6 |
146 | ····const-string·v7,·"Install·Voice·Search·from·Google·Play?" | 146 | ····const-string·v7,·"Install·Voice·Search·from·Google·Play?" |
147 | ····.line·125 | ||
147 | ····invoke-virtual·{v6,·v7},·Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; | 148 | ····invoke-virtual·{v6,·v7},·Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder; |
148 | ····move-result-object·v6 | 149 | ····move-result-object·v6 |
149 | ····const-string·v7,·"Install" | 150 | ····const-string·v7,·"Install" |
150 | ····new-instance·v8,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2; | 151 | ····new-instance·v8,·Lcom/termux/api/SpeechToTextAPI$SpeechToTextService$2; |
Offset 162, 18 lines modified | Offset 163, 20 lines modified | ||
162 | ····move-result-object·v6 | 163 | ····move-result-object·v6 |
163 | ····const-string·v7,·"Cancel" | 164 | ····const-string·v7,·"Cancel" |
164 | ····const/4·v8,·0x0 | 165 | ····const/4·v8,·0x0 |
166 | ····.line·136 | ||
165 | ····invoke-virtual·{v6,·v7,·v8},·Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; | 167 | ····invoke-virtual·{v6,·v7,·v8},·Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder; |
166 | ····move-result-object·v6 | 168 | ····move-result-object·v6 |
169 | ····.line·137 | ||
167 | ····invoke-virtual·{v6},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; | 170 | ····invoke-virtual·{v6},·Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog; |
168 | ····move-result-object·v6 | 171 | ····move-result-object·v6 |
169 | ····invoke-virtual·{v6},·Landroid/app/AlertDialog;->show()V | 172 | ····invoke-virtual·{v6},·Landroid/app/AlertDialog;->show()V |
170 | ····.line·140 | 173 | ····.line·140 |
Offset 15, 15 lines modified | Offset 15, 14 lines modified | ||
15 | .method·public·constructor·<init>()V | 15 | .method·public·constructor·<init>()V |
16 | ····.locals·0 | 16 | ····.locals·0 |
17 | ····.prologue | 17 | ····.prologue |
18 | ····.line·26 | 18 | ····.line·26 |
19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 19 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
20 | ····.line·32 | ||
21 | ····return-void | 20 | ····return-void |
22 | .end·method | 21 | .end·method |
23 | .method·public·static·onReceive(Landroid/content/Context;Landroid/content/Intent;)V | 22 | .method·public·static·onReceive(Landroid/content/Context;Landroid/content/Intent;)V |
24 | ····.locals·2 | 23 | ····.locals·2 |
25 | ····.param·p0,·"context"····#·Landroid/content/Context; | 24 | ····.param·p0,·"context"····#·Landroid/content/Context; |
26 | ····.param·p1,·"intent"····#·Landroid/content/Intent; | 25 | ····.param·p1,·"intent"····#·Landroid/content/Intent; |
Offset 20, 14 lines modified | Offset 20, 15 lines modified | ||
20 | #·instance·fields | 20 | #·instance·fields |
21 | .field·final·synthetic·this$0:Lcom/termux/api/ToastAPI$1; | 21 | .field·final·synthetic·this$0:Lcom/termux/api/ToastAPI$1; |
22 | #·direct·methods | 22 | #·direct·methods |
23 | .method·constructor·<init>(Lcom/termux/api/ToastAPI$1;)V | 23 | .method·constructor·<init>(Lcom/termux/api/ToastAPI$1;)V |
24 | ····.locals·0 | 24 | ····.locals·0 |
25 | ····.param·p1,·"this$0"····#·Lcom/termux/api/ToastAPI$1; | ||
25 | ····.prologue | 26 | ····.prologue |
26 | ····.line·23 | 27 | ····.line·23 |
27 | ····iput-object·p1,·p0,·Lcom/termux/api/ToastAPI$1$1;->this$0:Lcom/termux/api/ToastAPI$1; | 28 | ····iput-object·p1,·p0,·Lcom/termux/api/ToastAPI$1$1;->this$0:Lcom/termux/api/ToastAPI$1; |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 29 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
Offset 45, 194 lines modified | Offset 45, 194 lines modified | ||
45 | ····return-void | 45 | ····return-void |
46 | .end·method | 46 | .end·method |
47 | #·virtual·methods | 47 | #·virtual·methods |
48 | .method·public·run()V | 48 | .method·public·run()V |
49 |
····.locals·1 |
49 | ····.locals·13 |
50 | ····.prologue | 50 | ····.prologue |
51 |
····const/4·v |
51 | ····const/4·v8,·0x0 |
52 | ····.line·87 | 52 | ····.line·87 |
53 | ····:try_start_0 | 53 | ····:try_start_0 |
54 | ····new-instance·v3,·Landroid/net/LocalSocket; | 54 | ····new-instance·v3,·Landroid/net/LocalSocket; |
55 | ····invoke-direct·{v3},·Landroid/net/LocalSocket;-><init>()V | 55 | ····invoke-direct·{v3},·Landroid/net/LocalSocket;-><init>()V |
56 | ····:try_end_0 | 56 | ····:try_end_0 |
57 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_3 | 57 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_3 |
58 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_5 | 58 | ····.catchall·{:try_start_0·..·:try_end_0}·:catchall_5 |
59 | ····.local·v3,·"outputSocket":Landroid/net/LocalSocket; | 59 | ····.local·v3,·"outputSocket":Landroid/net/LocalSocket; |
60 |
····const/4·v |
60 | ····const/4·v7,·0x0 |
61 | ····.line·88 | 61 | ····.line·88 |
62 | ····:try_start_1 | 62 | ····:try_start_1 |
63 |
····iget-object·v |
63 | ····iget-object·v6,·p0,·Lcom/termux/api/util/ResultReturner$1;->val$intent:Landroid/content/Intent; |
64 |
····const-string·v |
64 | ····const-string·v9,·"socket_output" |
65 |
····invoke-virtual·{v |
65 | ····invoke-virtual·{v6,·v9},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; |
66 | ····move-result-object·v4 | 66 | ····move-result-object·v4 |
67 | ····.line·89 | 67 | ····.line·89 |
68 | ····.local·v4,·"outputSocketAdress":Ljava/lang/String; | 68 | ····.local·v4,·"outputSocketAdress":Ljava/lang/String; |
69 |
····new-instance·v |
69 | ····new-instance·v6,·Landroid/net/LocalSocketAddress; |
70 |
····invoke-direct·{v |
70 | ····invoke-direct·{v6,·v4},·Landroid/net/LocalSocketAddress;-><init>(Ljava/lang/String;)V |
71 |
····invoke-virtual·{v3,·v |
71 | ····invoke-virtual·{v3,·v6},·Landroid/net/LocalSocket;->connect(Landroid/net/LocalSocketAddress;)V |
72 | ····.line·90 | 72 | ····.line·90 |
73 | ····new-instance·v5,·Ljava/io/PrintWriter; | 73 | ····new-instance·v5,·Ljava/io/PrintWriter; |
74 | ····invoke-virtual·{v3},·Landroid/net/LocalSocket;->getOutputStream()Ljava/io/OutputStream; | 74 | ····invoke-virtual·{v3},·Landroid/net/LocalSocket;->getOutputStream()Ljava/io/OutputStream; |
75 |
····move-result-object·v |
75 | ····move-result-object·v6 |
76 |
····invoke-direct·{v5,·v |
76 | ····invoke-direct·{v5,·v6},·Ljava/io/PrintWriter;-><init>(Ljava/io/OutputStream;)V |
77 | ····:try_end_1 | 77 | ····:try_end_1 |
78 | ····.catch·Ljava/lang/Throwable;·{:try_start_1·..·:try_end_1}·:catch_2 | 78 | ····.catch·Ljava/lang/Throwable;·{:try_start_1·..·:try_end_1}·:catch_2 |
79 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_4 | 79 | ····.catchall·{:try_start_1·..·:try_end_1}·:catchall_4 |
80 | ····.local·v5,·"writer":Ljava/io/PrintWriter; | 80 | ····.local·v5,·"writer":Ljava/io/PrintWriter; |
81 |
····const/4·v |
81 | ····const/4·v9,·0x0 |
82 | ····.line·91 | 82 | ····.line·91 |
83 | ····:try_start_2 | 83 | ····:try_start_2 |
84 |
····iget-object·v |
84 | ····iget-object·v6,·p0,·Lcom/termux/api/util/ResultReturner$1;->val$resultWriter:Lcom/termux/api/util/ResultReturner$ResultWriter; |
85 |
····if-eqz·v |
85 | ····if-eqz·v6,·:cond_0 |
86 | ····.line·92 | 86 | ····.line·92 |
87 |
····iget-object·v |
87 | ····iget-object·v6,·p0,·Lcom/termux/api/util/ResultReturner$1;->val$resultWriter:Lcom/termux/api/util/ResultReturner$ResultWriter; |
88 |
····instance-of·v |
88 | ····instance-of·v6,·v6,·Lcom/termux/api/util/ResultReturner$WithInput; |
89 |
····if-eqz·v |
89 | ····if-eqz·v6,·:cond_b |
90 | ····.line·93 | 90 | ····.line·93 |
91 | ····new-instance·v1,·Landroid/net/LocalSocket; | 91 | ····new-instance·v1,·Landroid/net/LocalSocket; |
92 | ····invoke-direct·{v1},·Landroid/net/LocalSocket;-><init>()V | 92 | ····invoke-direct·{v1},·Landroid/net/LocalSocket;-><init>()V |
93 | ····:try_end_2 | 93 | ····:try_end_2 |
94 | ····.catch·Ljava/lang/Throwable;·{:try_start_2·..·:try_end_2}·:catch_1 | 94 | ····.catch·Ljava/lang/Throwable;·{:try_start_2·..·:try_end_2}·:catch_1 |
95 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_2 | 95 | ····.catchall·{:try_start_2·..·:try_end_2}·:catchall_2 |
96 | ····.local·v1,·"inputSocket":Landroid/net/LocalSocket; | 96 | ····.local·v1,·"inputSocket":Landroid/net/LocalSocket; |
97 |
····const/4·v1 |
97 | ····const/4·v10,·0x0 |
98 | ····.line·94 | 98 | ····.line·94 |
99 | ····:try_start_3 | 99 | ····:try_start_3 |
100 |
····iget-object·v |
100 | ····iget-object·v6,·p0,·Lcom/termux/api/util/ResultReturner$1;->val$intent:Landroid/content/Intent; |
101 |
····const-string·v1 |
101 | ····const-string·v11,·"socket_input" |
102 |
····invoke-virtual·{v |
102 | ····invoke-virtual·{v6,·v11},·Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String; |
103 | ····move-result-object·v2 | 103 | ····move-result-object·v2 |
104 | ····.line·95 | 104 | ····.line·95 |
105 | ····.local·v2,·"inputSocketAdress":Ljava/lang/String; | 105 | ····.local·v2,·"inputSocketAdress":Ljava/lang/String; |
106 |
····new-instance·v |
106 | ····new-instance·v6,·Landroid/net/LocalSocketAddress; |
107 |
····invoke-direct·{v |
107 | ····invoke-direct·{v6,·v2},·Landroid/net/LocalSocketAddress;-><init>(Ljava/lang/String;)V |
108 |
····invoke-virtual·{v1,·v |
108 | ····invoke-virtual·{v1,·v6},·Landroid/net/LocalSocket;->connect(Landroid/net/LocalSocketAddress;)V |
Max diff block lines reached; 21086/25764 bytes (81.84%) of diff not shown. |
Offset 24, 15 lines modified | Offset 24, 14 lines modified | ||
24 | .method·public·constructor·<init>()V | 24 | .method·public·constructor·<init>()V |
25 | ····.locals·0 | 25 | ····.locals·0 |
26 | ····.prologue | 26 | ····.prologue |
27 | ····.line·17 | 27 | ····.line·17 |
28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 28 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
29 | ····.line·60 | ||
30 | ····return-void | 29 | ····return-void |
31 | .end·method | 30 | .end·method |
32 | .method·public·static·noteDone(Landroid/content/BroadcastReceiver;Landroid/content/Intent;)V | 31 | .method·public·static·noteDone(Landroid/content/BroadcastReceiver;Landroid/content/Intent;)V |
33 | ····.locals·1 | 32 | ····.locals·1 |
34 | ····.param·p0,·"receiver"····#·Landroid/content/BroadcastReceiver; | 33 | ····.param·p0,·"receiver"····#·Landroid/content/BroadcastReceiver; |
35 | ····.param·p1,·"intent"····#·Landroid/content/Intent; | 34 | ····.param·p1,·"intent"····#·Landroid/content/Intent; |
Offset 61, 14 lines modified | Offset 60, 15 lines modified | ||
61 | ····if-eqz·v3,·:cond_0 | 60 | ····if-eqz·v3,·:cond_0 |
62 | ····move-object·v3,·p0 | 61 | ····move-object·v3,·p0 |
63 | ····check-cast·v3,·Landroid/content/BroadcastReceiver; | 62 | ····check-cast·v3,·Landroid/content/BroadcastReceiver; |
63 | ····.line·80 | ||
64 | ····invoke-virtual·{v3},·Landroid/content/BroadcastReceiver;->goAsync()Landroid/content/BroadcastReceiver$PendingResult; | 64 | ····invoke-virtual·{v3},·Landroid/content/BroadcastReceiver;->goAsync()Landroid/content/BroadcastReceiver$PendingResult; |
65 | ····move-result-object·v1 | 65 | ····move-result-object·v1 |
66 | ····.line·81 | 66 | ····.line·81 |
67 | ····.local·v1,·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; | 67 | ····.local·v1,·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; |
68 | ····:goto_0 | 68 | ····:goto_0 |
Offset 106, 15 lines modified | Offset 106, 15 lines modified | ||
106 | ····.end·local·v0····#·"activity":Landroid/app/Activity; | 106 | ····.end·local·v0····#·"activity":Landroid/app/Activity; |
107 | ····.end·local·v1····#·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; | 107 | ····.end·local·v1····#·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; |
108 | ····.end·local·v2····#·"runnable":Ljava/lang/Runnable; | 108 | ····.end·local·v2····#·"runnable":Ljava/lang/Runnable; |
109 | ····:cond_0 | 109 | ····:cond_0 |
110 | ····move-object·v1,·v4 | 110 | ····move-object·v1,·v4 |
111 |
····.line· |
111 | ····.line·80 |
112 | ····goto·:goto_0 | 112 | ····goto·:goto_0 |
113 | ····.restart·local·v1····#·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; | 113 | ····.restart·local·v1····#·"asyncResult":Landroid/content/BroadcastReceiver$PendingResult; |
114 | ····:cond_1 | 114 | ····:cond_1 |
115 | ····move-object·v3,·v4 | 115 | ····move-object·v3,·v4 |
116 | ····.line·81 | 116 | ····.line·81 |
Offset 34, 117 lines modified | Offset 34, 111 lines modified | ||
34 | .method·public·static·varargs·checkAndRequestPermissions(Landroid/content/Context;Landroid/content/Intent;[Ljava/lang/String;)Z | 34 | .method·public·static·varargs·checkAndRequestPermissions(Landroid/content/Context;Landroid/content/Intent;[Ljava/lang/String;)Z |
35 | ····.locals·8 | 35 | ····.locals·8 |
36 | ····.param·p0,·"context"····#·Landroid/content/Context; | 36 | ····.param·p0,·"context"····#·Landroid/content/Context; |
37 | ····.param·p1,·"intent"····#·Landroid/content/Intent; | 37 | ····.param·p1,·"intent"····#·Landroid/content/Intent; |
38 | ····.param·p2,·"permissions"····#·[Ljava/lang/String; | 38 | ····.param·p2,·"permissions"····#·[Ljava/lang/String; |
39 | ····.prologue | 39 | ····.prologue |
40 |
····const/4·v |
40 | ····const/4·v2,·0x1 |
41 | ····const/4·v3,·0x0 | ||
41 | ····.line·32 | 42 | ····.line·32 |
42 |
····sget·v |
43 | ····sget·v4,·Landroid/os/Build$VERSION;->SDK_INT:I |
43 |
····const/16·v |
44 | ····const/16·v5,·0x17 |
44 |
····if-lt·v |
45 | ····if-lt·v4,·v5,·:cond_2 |
45 | ····.line·33 | 46 | ····.line·33 |
46 |
····new-instance·v |
47 | ····new-instance·v1,·Ljava/util/ArrayList; |
47 |
····invoke-direct·{v |
48 | ····invoke-direct·{v1},·Ljava/util/ArrayList;-><init>()V |
48 | ····.line·34 | 49 | ····.line·34 |
49 |
····.local·v |
50 | ····.local·v1,·"permissionsToRequest":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
50 |
···· |
51 | ····array-length·v5,·p2 |
51 | ····.local·v0,·"arr$":[Ljava/lang/String; | ||
52 | ····array-length·v2,·v0 | ||
53 |
···· |
52 | ····move·v4,·v3 |
54 | ····const/4·v1,·0x0 | ||
55 | ····.local·v1,·"i$":I | ||
56 | ····:goto_0 | 53 | ····:goto_0 |
57 |
····if-ge·v |
54 | ····if-ge·v4,·v5,·:cond_1 |
58 |
····aget-object·v |
55 | ····aget-object·v0,·p2,·v4 |
59 | ····.line·35 | 56 | ····.line·35 |
60 |
····.local·v |
57 | ····.local·v0,·"permission":Ljava/lang/String; |
61 |
····invoke-virtual·{p0,·v |
58 | ····invoke-virtual·{p0,·v0},·Landroid/content/Context;->checkSelfPermission(Ljava/lang/String;)I |
62 | ····move-result·v6 | 59 | ····move-result·v6 |
63 | ····const/4·v7,·-0x1 | 60 | ····const/4·v7,·-0x1 |
64 | ····if-ne·v6,·v7,·:cond_0 | 61 | ····if-ne·v6,·v7,·:cond_0 |
65 | ····.line·36 | 62 | ····.line·36 |
66 |
····invoke-virtual·{v |
63 | ····invoke-virtual·{v1,·v0},·Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
67 | ····.line·34 | 64 | ····.line·34 |
68 | ····:cond_0 | 65 | ····:cond_0 |
69 |
····add-int/lit8·v |
66 | ····add-int/lit8·v4,·v4,·0x1 |
70 | ····goto·:goto_0 | 67 | ····goto·:goto_0 |
71 | ····.line·40 | 68 | ····.line·40 |
72 |
····.end·local·v |
69 | ····.end·local·v0····#·"permission":Ljava/lang/String; |
73 | ····:cond_1 | 70 | ····:cond_1 |
74 |
····invoke-virtual·{v |
71 | ····invoke-virtual·{v1},·Ljava/util/ArrayList;->isEmpty()Z |
75 |
····move-result·v |
72 | ····move-result·v4 |
76 |
····if-eqz·v |
73 | ····if-eqz·v4,·:cond_3 |
77 | ····.line·55 | 74 | ····.line·55 |
78 |
····.end·local·v |
75 | ····.end·local·v1····#·"permissionsToRequest":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
79 | ····.end·local·v1····#·"i$":I | ||
80 | ····.end·local·v2····#·"len$":I | ||
81 | ····.end·local·v4····#·"permissionsToRequest":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" | ||
82 | ····:cond_2 | 76 | ····:cond_2 |
83 | ····:goto_1 | 77 | ····:goto_1 |
84 |
····return·v |
78 | ····return·v2 |
85 | ····.line·43 | 79 | ····.line·43 |
86 |
····.restart·local·v |
80 | ····.restart·local·v1····#·"permissionsToRequest":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" |
87 | ····.restart·local·v1····#·"i$":I | ||
88 | ····.restart·local·v2····#·"len$":I | ||
89 | ····.restart·local·v4····#·"permissionsToRequest":Ljava/util/ArrayList;,·"Ljava/util/ArrayList<Ljava/lang/String;>;" | ||
90 | ····:cond_3 | 81 | ····:cond_3 |
91 |
····new-instance·v |
82 | ····new-instance·v2,·Landroid/content/Intent; |
92 |
····const-class·v |
83 | ····const-class·v4,·Lcom/termux/api/util/TermuxApiPermissionActivity; |
93 |
····invoke-direct·{v |
84 | ····invoke-direct·{v2,·p0,·v4},·Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V |
94 |
····const/high16·v |
85 | ····const/high16·v4,·0x10000000 |
95 |
|
86 | ····.line·44 |
87 | ····invoke-virtual·{v2,·v4},·Landroid/content/Intent;->addFlags(I)Landroid/content/Intent; | ||
96 |
····move-result-object·v |
88 | ····move-result-object·v2 |
97 |
····const-string·v |
89 | ····const-string·v4,·"com.termux.api.permission_extra" |
98 |
|
90 | ····.line·45 |
91 | ····invoke-virtual·{v2,·v4,·v1},·Landroid/content/Intent;->putStringArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent; | ||
Max diff block lines reached; 6009/10472 bytes (57.38%) of diff not shown. |
Offset 64, 16 lines modified | Offset 64, 16 lines modified | ||
000003f0:·6f00·6e00·4e00·6100·6d00·6500·0000·0800··o.n.N.a.m.e..... | 000003f0:·6f00·6e00·4e00·6100·6d00·6500·0000·0800··o.n.N.a.m.e..... | ||
00000400:·6d00·6100·6e00·6900·6600·6500·7300·7400··m.a.n.i.f.e.s.t. | 00000400:·6d00·6100·6e00·6900·6600·6500·7300·7400··m.a.n.i.f.e.s.t. | ||
00000410:·0000·0e00·6300·6f00·6d00·2e00·7400·6500··....c.o.m...t.e. | 00000410:·0000·0e00·6300·6f00·6d00·2e00·7400·6500··....c.o.m...t.e. | ||
00000420:·7200·6d00·7500·7800·2e00·6100·7000·6900··r.m.u.x...a.p.i. | 00000420:·7200·6d00·7500·7800·2e00·6100·7000·6900··r.m.u.x...a.p.i. | ||
00000430:·0000·0a00·6300·6f00·6d00·2e00·7400·6500··....c.o.m...t.e. | 00000430:·0000·0a00·6300·6f00·6d00·2e00·7400·6500··....c.o.m...t.e. | ||
00000440:·7200·6d00·7500·7800·0000·0400·3000·2e00··r.m.u.x.....0... | 00000440:·7200·6d00·7500·7800·0000·0400·3000·2e00··r.m.u.x.....0... | ||
00000450:·3100·3000·0000·0200·3200·3300·0000·0b00··1.0.....2.3..... | 00000450:·3100·3000·0000·0200·3200·3300·0000·0b00··1.0.....2.3..... | ||
00000460:·3600·2e00·3000·2d00·3200·3 |
00000460:·3600·2e00·3000·2d00·3200·3700·3000·3400··6...0.-.2.7.0.4. | ||
00000470:·3 |
00000470:·3000·3000·3200·0000·0800·7500·7300·6500··0.0.2.....u.s.e. | ||
00000480:·7300·2d00·7300·6400·6b00·0000·0c00·7500··s.-.s.d.k.....u. | 00000480:·7300·2d00·7300·6400·6b00·0000·0c00·7500··s.-.s.d.k.....u. | ||
00000490:·7300·6500·7300·2d00·6600·6500·6100·7400··s.e.s.-.f.e.a.t. | 00000490:·7300·6500·7300·2d00·6600·6500·6100·7400··s.e.s.-.f.e.a.t. | ||
000004a0:·7500·7200·6500·0000·1c00·6100·6e00·6400··u.r.e.....a.n.d. | 000004a0:·7500·7200·6500·0000·1c00·6100·6e00·6400··u.r.e.....a.n.d. | ||
000004b0:·7200·6f00·6900·6400·2e00·6800·6100·7200··r.o.i.d...h.a.r. | 000004b0:·7200·6f00·6900·6400·2e00·6800·6100·7200··r.o.i.d...h.a.r. | ||
000004c0:·6400·7700·6100·7200·6500·2e00·7400·6f00··d.w.a.r.e...t.o. | 000004c0:·6400·7700·6100·7200·6500·2e00·7400·6f00··d.w.a.r.e...t.o. | ||
000004d0:·7500·6300·6800·7300·6300·7200·6500·6500··u.c.h.s.c.r.e.e. | 000004d0:·7500·6300·6800·7300·6300·7200·6500·6500··u.c.h.s.c.r.e.e. | ||
000004e0:·6e00·0000·0f00·7500·7300·6500·7300·2d00··n.....u.s.e.s.-. | 000004e0:·6e00·0000·0f00·7500·7300·6500·7300·2d00··n.....u.s.e.s.-. |