41.5 KB
/home/hans/code/fdroid/data/tmp/com.alexkang.bluechat_2.apk vs.
/home/hans/code/fdroid/data/tmp/sigcp_com.alexkang.bluechat_2.apk
7.98 KB
zipinfo /dev/stdin
Max report size reached
1.16 KB
AndroidManifest.xml (decoded)
1.11 KB
AndroidManifest.xml
Offset 1, 9 lines modifiedOffset 1, 9 lines modified
1 <?xml·​version="1.​0"·​encoding="utf-​8"?>1 <?xml·​version="1.​0"·​encoding="utf-​8"?>
2 <manifest·​android:​versionCode="2"·​android:​versionName="1.​1"·​package="com.​alexkang.​bluechat"·platformBuildVersionC​ode="21"·​platformBuildVersionN​ame="5.​0.​1-​1624448"·xmlns:​android="http:​/​/​schemas.​android.​com/​apk/​res/​android">2 <manifest·​android:​versionCode="2"·​android:​versionName="1.​1"·​package="com.​alexkang.​bluechat"·​xmlns:​android="http:​/​/​schemas.​android.​com/​apk/​res/​android">
3 ··​<uses-​sdk·​android:​minSdkVersion="15"·​android:​targetSdkVersion="21"​/​>3 ··​<uses-​sdk·​android:​minSdkVersion="15"·​android:​targetSdkVersion="21"​/​>
4 ··​<uses-​permission·​android:​name="android.​permission.​BLUETOOTH"/​>4 ··​<uses-​permission·​android:​name="android.​permission.​BLUETOOTH"/​>
5 ··​<uses-​permission·​android:​name="android.​permission.​BLUETOOTH_ADMIN"/​>5 ··​<uses-​permission·​android:​name="android.​permission.​BLUETOOTH_ADMIN"/​>
6 ··​<uses-​permission·​android:​name="android.​permission.​READ_EXTERNAL_STORAGE​"/​>6 ··​<uses-​permission·​android:​name="android.​permission.​READ_EXTERNAL_STORAGE​"/​>
7 ··​<application·​android:​allowBackup="true"·​android:​icon="@drawable/​ic_launcher"·​android:​label="@string/​app_name"·​android:​largeHeap="true"·​android:​logo="@drawable/​ic_launcher_white"·​android:​theme="@style/​AppTheme">7 ··​<application·​android:​allowBackup="true"·​android:​icon="@drawable/​ic_launcher"·​android:​label="@string/​app_name"·​android:​largeHeap="true"·​android:​logo="@drawable/​ic_launcher_white"·​android:​theme="@style/​AppTheme">
8 ····​<activity·​android:​label="@string/​app_name"·​android:​name="com.​alexkang.​bluechat.​MainActivity"·​android:​screenOrientation="po​rtrait">8 ····​<activity·​android:​label="@string/​app_name"·​android:​name="com.​alexkang.​bluechat.​MainActivity"·​android:​screenOrientation="po​rtrait">
9 ······​<intent-​filter>9 ······​<intent-​filter>
568 B
smali/com/alexkang/bluechat/ChatManager$1.smali
Offset 17, 14 lines modifiedOffset 17, 15 lines modified
17 #·​instance·​fields17 #·​instance·​fields
18 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ChatManager;​18 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ChatManager;​
  
  
19 #·​direct·​methods19 #·​direct·​methods
20 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ChatManager;​)​V20 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ChatManager;​)​V
21 ····​.​locals·​021 ····​.​locals·​0
 22 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​ChatManager;​
  
22 ····​.​prologue23 ····​.​prologue
23 ····​.​line·​5424 ····​.​line·​54
24 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​ChatManager;​25 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​ChatManager;​
  
25 ····​invoke-​direct·​{p0},​·​Landroid/​os/​Handler;​-​><init>()​V26 ····​invoke-​direct·​{p0},​·​Landroid/​os/​Handler;​-​><init>()​V
  
5.84 KB
smali/com/alexkang/bluechat/ChatManager$ConnectedThread.smali
Offset 263, 14 lines modifiedOffset 263, 15 lines modified
  
263 ····​move-​result-​object·​v10263 ····​move-​result-​object·​v10
  
264 ····​invoke-​virtual·​{v10,​·​v9,​·​v8,​·​v7,​·​v5},​·​Landroid/​os/​Handler;​-​>obtainMessage(IIILja​va/​lang/​Object;​)​Landroid/​os/​Message;​264 ····​invoke-​virtual·​{v10,​·​v9,​·​v8,​·​v7,​·​v5},​·​Landroid/​os/​Handler;​-​>obtainMessage(IIILja​va/​lang/​Object;​)​Landroid/​os/​Message;​
  
265 ····​move-​result-​object·​v10265 ····​move-​result-​object·​v10
  
 266 ····​.​line·​299
266 ····​invoke-​virtual·​{v10},​·​Landroid/​os/​Message;​-​>sendToTarget()​V267 ····​invoke-​virtual·​{v10},​·​Landroid/​os/​Message;​-​>sendToTarget()​V
267 ····​:​try_end_0268 ····​:​try_end_0
268 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0269 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
269 ····​goto·​:​goto_0270 ····​goto·​:​goto_0
  
270 ····​.​line·​300271 ····​.​line·​300
Offset 301, 120 lines modifiedOffset 302, 115 lines modified
301 ····​invoke-​direct·​{p0},​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>endActivity()​V302 ····​invoke-​direct·​{p0},​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>endActivity()​V
  
302 ····​.​line·​307303 ····​.​line·​307
303 ····​return-​void304 ····​return-​void
304 .​end·​method305 .​end·​method
  
305 .​method·​public·​write([B)​V306 .​method·​public·​write([B)​V
306 ····​.​locals·9307 ····​.​locals·7
307 ····​.​param·​p1,​·​"byteArray"····​#·​[B308 ····​.​param·​p1,​·​"byteArray"····​#·​[B
  
308 ····​.​prologue309 ····​.​prologue
309 ····​.​line·​311310 ····​.​line·​311
310 ····​:​try_start_0311 ····​:​try_start_0
311 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>mmOutStream:​Ljava/​io/​OutputStream;​312 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>mmOutStream:​Ljava/​io/​OutputStream;​
  
312 ····​invoke-​virtual·​{v6,​·​p1},​·​Ljava/​io/​OutputStream;​-​>write([B)​V313 ····​invoke-​virtual·​{v3,​·​p1},​·​Ljava/​io/​OutputStream;​-​>write([B)​V
  
313 ····​.​line·​312314 ····​.​line·​312
314 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>mmOutStream:​Ljava/​io/​OutputStream;​315 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​-​>mmOutStream:​Ljava/​io/​OutputStream;​
  
315 ····​invoke-​virtual·​{v6},​·​Ljava/​io/​OutputStream;​-​>flush()​V316 ····​invoke-​virtual·​{v3},​·​Ljava/​io/​OutputStream;​-​>flush()​V
316 ····​:​try_end_0317 ····​:​try_end_0
317 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0318 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
318 ····​.​line·​322319 ····​.​line·​322
319 ····​:​goto_0320 ····​:​goto_0
320 ····​return-​void321 ····​return-​void
  
321 ····​.​line·​313322 ····​.​line·​313
322 ····​:​catch_0323 ····​:​catch_0
323 ····​move-​exception·​v3324 ····​move-​exception·​v2
  
324 ····​.​line·​314325 ····​.​line·​314
325 ····​.​local·​v3,​·​"e":​Ljava/​io/​IOException;​326 ····​.​local·​v2,​·​"e":​Ljava/​io/​IOException;​
326 ····​const-​string·​v2,​·​""327 ····​const-​string·​v1,​·​""
  
327 ····​.​line·​315328 ····​.​line·​315
328 ····​.​local·​v2,​·​"byteArrayString":​Ljava/​lang/​String;​329 ····​.​local·​v1,​·​"byteArrayString":​Ljava/​lang/​String;​
329 ····move-​object·​v0,​·​p1330 ····array-​length·​v4,​·​p1
  
330 ····​.​local·​v0,​·​"arr$":​[B 
331 ····​array-​length·​v5,​·​v0 
  
332 ····.​local·​v5,​·"len$":​I331 ····const/​4·​v3,​·0x0
333 ····​const/​4·​v4,​·​0x0 
  
334 ····​.​local·​v4,​·​"i$":​I 
335 ····​:​goto_1332 ····​:​goto_1
336 ····​if-​ge·​v4,​·​v5,​·​:​cond_0333 ····​if-​ge·​v3,​·​v4,​·​:​cond_0
  
337 ····​aget-​byte·​v1,​·v0,​·​v4334 ····​aget-​byte·​v0,​·p1,​·​v3
  
338 ····​.​line·​316335 ····​.​line·​316
339 ····​.​local·​v1,​·​"b":​B336 ····​.​local·​v0,​·​"b":​B
340 ····​new-​instance·​v6,​·​Ljava/​lang/​StringBuilder;​337 ····​new-​instance·​v5,​·​Ljava/​lang/​StringBuilder;​
  
341 ····​invoke-​direct·​{v6},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V338 ····​invoke-​direct·​{v5},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V
  
342 ····​invoke-​virtual·​{v6,​·​v2},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​339 ····​invoke-​virtual·​{v5,​·​v1},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​
  
343 ····​move-​result-​object·​v6340 ····​move-​result-​object·​v5
  
344 ····​invoke-​virtual·​{v6,​·​v1},​·​Ljava/​lang/​StringBuilder;​-​>append(I)​Ljava/​lang/​StringBuilder;​341 ····​invoke-​virtual·​{v5,​·​v0},​·​Ljava/​lang/​StringBuilder;​-​>append(I)​Ljava/​lang/​StringBuilder;​
  
345 ····​move-​result-​object·​v6342 ····​move-​result-​object·​v5
  
346 ····​const-​string·​v7,​·​",​·​"343 ····​const-​string·​v6,​·​",​·​"
  
347 ····​invoke-​virtual·​{v6,​·​v7},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​344 ····​invoke-​virtual·​{v5,​·​v6},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​
  
348 ····​move-​result-​object·​v6345 ····​move-​result-​object·​v5
  
349 ····​invoke-​virtual·​{v6},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​346 ····​invoke-​virtual·​{v5},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​
  
350 ····​move-​result-​object·​v2347 ····​move-​result-​object·​v1
  
351 ····​.​line·​315348 ····​.​line·​315
352 ····​add-​int/​lit8·​v4,​·​v4,​·​0x1349 ····​add-​int/​lit8·​v3,​·​v3,​·​0x1
  
353 ····​goto·​:​goto_1350 ····​goto·​:​goto_1
  
354 ····​.​line·​318351 ····​.​line·​318
355 ····​.​end·​local·​v1····​#·​"b":​B352 ····​.​end·​local·​v0····​#·​"b":​B
356 ····​:​cond_0353 ····​:​cond_0
357 ····​sget-​object·​v6,​·​Ljava/​lang/​System;​-​>err:​Ljava/​io/​PrintStream;​354 ····​sget-​object·​v3,​·​Ljava/​lang/​System;​-​>err:​Ljava/​io/​PrintStream;​
  
358 ····​new-​instance·​v7,​·​Ljava/​lang/​StringBuilder;​355 ····​new-​instance·​v4,​·​Ljava/​lang/​StringBuilder;​
  
359 ····​invoke-​direct·​{v7},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V356 ····​invoke-​direct·​{v4},​·​Ljava/​lang/​StringBuilder;​-​><init>()​V
  
360 ····​const-​string·​v8,​·​"Failed·​to·​write·​bytes:​·​"357 ····​const-​string·​v5,​·​"Failed·​to·​write·​bytes:​·​"
  
361 ····​invoke-​virtual·​{v7,​·​v8},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​358 ····​invoke-​virtual·​{v4,​·​v5},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​
  
362 ····​move-​result-​object·​v7359 ····​move-​result-​object·​v4
  
363 ····​invoke-​virtual·​{v7,​·​v2},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​360 ····​invoke-​virtual·​{v4,​·​v1},​·​Ljava/​lang/​StringBuilder;​-​>append(Ljava/​lang/​String;​)​Ljava/​lang/​StringBuilder;​
  
364 ····​move-​result-​object·​v7361 ····​move-​result-​object·​v4
  
365 ····​invoke-​virtual·​{v7},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​362 ····​invoke-​virtual·​{v4},​·​Ljava/​lang/​StringBuilder;​-​>toString()​Ljava/​lang/​String;​
  
366 ····​move-​result-​object·​v7363 ····​move-​result-​object·​v4
  
367 ····​invoke-​virtual·​{v6,​·​v7},​·​Ljava/​io/​PrintStream;​-​>println(Ljava/​lang/​String;​)​V364 ····​invoke-​virtual·​{v3,​·​v4},​·​Ljava/​io/​PrintStream;​-​>println(Ljava/​lang/​String;​)​V
  
368 ····​.​line·​319365 ····​.​line·​319
369 ····​sget-​object·​v6,​·​Ljava/​lang/​System;​-​>err:​Ljava/​io/​PrintStream;​366 ····​sget-​object·​v3,​·​Ljava/​lang/​System;​-​>err:​Ljava/​io/​PrintStream;​
  
370 ····​invoke-​virtual·​{v3},​·​Ljava/​io/​IOException;​-​>toString()​Ljava/​lang/​String;​367 ····​invoke-​virtual·​{v2},​·​Ljava/​io/​IOException;​-​>toString()​Ljava/​lang/​String;​
  
Max diff block lines reached; 307/5858 bytes (5.24%) of diff not shown.
679 B
smali/com/alexkang/bluechat/ChatManager$ConnectedThread$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$1"····​#·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​32627 ····​.​line·​326
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
1.14 KB
smali/com/alexkang/bluechat/ChatManager.smali
Offset 511, 22 lines modifiedOffset 511, 24 lines modified
511 ····​.​line·​140511 ····​.​line·​140
512 ····​new-​array·​v3,​·​v6,​·​[B512 ····​new-​array·​v3,​·​v6,​·​[B
  
513 ····​const/​4·​v4,​·​0x0513 ····​const/​4·​v4,​·​0x0
  
514 ····​iget-​object·​v5,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>connections:​Ljava/​util/​ArrayList;​514 ····​iget-​object·​v5,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>connections:​Ljava/​util/​ArrayList;​
  
 515 ····​.​line·​143
515 ····​invoke-​virtual·​{v5},​·​Ljava/​util/​ArrayList;​-​>size()​I516 ····​invoke-​virtual·​{v5},​·​Ljava/​util/​ArrayList;​-​>size()​I
  
516 ····​move-​result·​v5517 ····​move-​result·​v5
  
517 ····​int-​to-​byte·​v5,​·​v5518 ····​int-​to-​byte·​v5,​·​v5
  
518 ····​aput-​byte·​v5,​·​v3,​·​v4519 ····​aput-​byte·​v5,​·​v3,​·​v4
  
 520 ····​.​line·​140
519 ····​invoke-​virtual·​{p0,​·​v6,​·​v2,​·​v3},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B521 ····​invoke-​virtual·​{p0,​·​v6,​·​v2,​·​v3},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B
  
520 ····​move-​result-​object·​v0522 ····​move-​result-​object·​v0
  
521 ····​.​line·​145523 ····​.​line·​145
522 ····​.​local·​v0,​·​"idAssignmentPacket":​[B524 ····​.​local·​v0,​·​"idAssignmentPacket":​[B
523 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>mConnectedThread:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​525 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>mConnectedThread:​Lcom/​alexkang/​bluechat/​ChatManager$Connected​Thread;​
Offset 655, 14 lines modifiedOffset 657, 15 lines modified
  
655 ····​move-​result-​object·​v5657 ····​move-​result-​object·​v5
  
656 ····​invoke-​virtual·​{v4,​·​v1,​·​v2,​·​p2,​·​v5},​·​Landroid/​os/​Handler;​-​>obtainMessage(IIILja​va/​lang/​Object;​)​Landroid/​os/​Message;​658 ····​invoke-​virtual·​{v4,​·​v1,​·​v2,​·​p2,​·​v5},​·​Landroid/​os/​Handler;​-​>obtainMessage(IIILja​va/​lang/​Object;​)​Landroid/​os/​Message;​
  
657 ····​move-​result-​object·​v4659 ····​move-​result-​object·​v4
  
 660 ····​.​line·​203
658 ····​invoke-​virtual·​{v4},​·​Landroid/​os/​Message;​-​>sendToTarget()​V661 ····​invoke-​virtual·​{v4},​·​Landroid/​os/​Message;​-​>sendToTarget()​V
  
659 ····​.​line·​205662 ····​.​line·​205
660 ····​iget-​boolean·​v4,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>isHost:​Z663 ····​iget-​boolean·​v4,​·​p0,​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>isHost:​Z
  
661 ····​if-​eqz·​v4,​·​:​cond_3664 ····​if-​eqz·​v4,​·​:​cond_3
  
604 B
smali/com/alexkang/bluechat/ClientActivity$1.smali
Offset 17, 14 lines modifiedOffset 17, 15 lines modified
17 #·​instance·​fields17 #·​instance·​fields
18 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​18 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
  
19 #·​direct·​methods19 #·​direct·​methods
20 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V20 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V
21 ····​.​locals·​021 ····​.​locals·​0
 22 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
22 ····​.​prologue23 ····​.​prologue
23 ····​.​line·​4824 ····​.​line·​48
24 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​25 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
25 ····​invoke-​direct·​{p0},​·​Landroid/​content/​BroadcastReceiver;​-​><init>()​V26 ····​invoke-​direct·​{p0},​·​Landroid/​content/​BroadcastReceiver;​-​><init>()​V
  
587 B
smali/com/alexkang/bluechat/ClientActivity$2.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​8227 ····​.​line·​82
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
587 B
smali/com/alexkang/bluechat/ClientActivity$3.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​8927 ····​.​line·​89
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
587 B
smali/com/alexkang/bluechat/ClientActivity$4.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​9727 ····​.​line·​97
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
686 B
smali/com/alexkang/bluechat/ClientActivity$ConnectThread$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$1"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​30527 ····​.​line·​305
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$Connec​tThread;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
760 B
smali/com/alexkang/bluechat/ClientActivity$ConnectThread.smali
Offset 35, 18 lines modifiedOffset 35, 20 lines modified
35 ····​const/​4·​v1,​·​0x035 ····​const/​4·​v1,​·​0x0
  
36 ····​.​line·​28436 ····​.​line·​284
37 ····​.​local·​v1,​·​"tmp":​Landroid/​bluetooth/​BluetoothSocket;​37 ····​.​local·​v1,​·​"tmp":​Landroid/​bluetooth/​BluetoothSocket;​
38 ····​:​try_start_038 ····​:​try_start_0
39 ····​const-​string·​v2,​·​"28286a80-​137b-​11e4-​bbe8-​0002a5d5c51b"39 ····​const-​string·​v2,​·​"28286a80-​137b-​11e4-​bbe8-​0002a5d5c51b"
  
 40 ····​.​line·​285
40 ····​invoke-​static·​{v2},​·​Ljava/​util/​UUID;​-​>fromString(Ljava/​lang/​String;​)​Ljava/​util/​UUID;​41 ····​invoke-​static·​{v2},​·​Ljava/​util/​UUID;​-​>fromString(Ljava/​lang/​String;​)​Ljava/​util/​UUID;​
  
41 ····​move-​result-​object·​v242 ····​move-​result-​object·​v2
  
 43 ····​.​line·​284
42 ····​invoke-​virtual·​{p2,​·​v2},​·​Landroid/​bluetooth/​BluetoothDevice;​-​>createRfcommSocketTo​ServiceRecord(Ljava/​util/​UUID;​)​Landroid/​bluetooth/​BluetoothSocket;​44 ····​invoke-​virtual·​{p2,​·​v2},​·​Landroid/​bluetooth/​BluetoothDevice;​-​>createRfcommSocketTo​ServiceRecord(Ljava/​util/​UUID;​)​Landroid/​bluetooth/​BluetoothSocket;​
43 ····​:​try_end_045 ····​:​try_end_0
44 ····​.​catch·​Ljava/​lang/​Exception;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_046 ····​.​catch·​Ljava/​lang/​Exception;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
45 ····​move-​result-​object·​v147 ····​move-​result-​object·​v1
  
46 ····​.​line·​29148 ····​.​line·​291
700 B
smali/com/alexkang/bluechat/ClientActivity$SendImageThread$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$1"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​22927 ····​.​line·​229
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
2.03 KB
smali/com/alexkang/bluechat/ClientActivity$SendImageThread.smali
Offset 118, 38 lines modifiedOffset 118, 41 lines modified
118 ····​.​line·​250118 ····​.​line·​250
119 ····​.​local·​v5,​·​"scalingFactor":​F119 ····​.​local·​v5,​·​"scalingFactor":​F
120 ····​:​goto_1120 ····​:​goto_1
121 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​121 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
122 ····​iget-​object·​v7,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​122 ····​iget-​object·​v7,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
 123 ····​.​line·​252
123 ····​invoke-​virtual·​{v7},​·​Landroid/​graphics/​Bitmap;​-​>getWidth()​I124 ····​invoke-​virtual·​{v7},​·​Landroid/​graphics/​Bitmap;​-​>getWidth()​I
  
124 ····​move-​result·​v7125 ····​move-​result·​v7
  
125 ····​int-​to-​float·​v7,​·​v7126 ····​int-​to-​float·​v7,​·​v7
  
126 ····​mul-​float/​2addr·​v7,​·​v5127 ····​mul-​float/​2addr·​v7,​·​v5
  
127 ····​float-​to-​int·​v7,​·​v7128 ····​float-​to-​int·​v7,​·​v7
  
128 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​129 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
 130 ····​.​line·​253
129 ····​invoke-​virtual·​{v8},​·​Landroid/​graphics/​Bitmap;​-​>getHeight()​I131 ····​invoke-​virtual·​{v8},​·​Landroid/​graphics/​Bitmap;​-​>getHeight()​I
  
130 ····​move-​result·​v8132 ····​move-​result·​v8
  
131 ····​int-​to-​float·​v8,​·​v8133 ····​int-​to-​float·​v8,​·​v8
  
132 ····​mul-​float/​2addr·​v8,​·​v5134 ····​mul-​float/​2addr·​v8,​·​v5
  
133 ····​float-​to-​int·​v8,​·​v8135 ····​float-​to-​int·​v8,​·​v8
  
134 ····​const/​4·​v9,​·​0x0136 ····​const/​4·​v9,​·​0x0
  
 137 ····​.​line·​250
135 ····​invoke-​static·​{v6,​·​v7,​·​v8,​·​v9},​·​Landroid/​graphics/​Bitmap;​-​>createScaledBitmap(L​android/​graphics/​Bitmap;​IIZ)​Landroid/​graphics/​Bitmap;​138 ····​invoke-​static·​{v6,​·​v7,​·​v8,​·​v9},​·​Landroid/​graphics/​Bitmap;​-​>createScaledBitmap(L​android/​graphics/​Bitmap;​IIZ)​Landroid/​graphics/​Bitmap;​
  
136 ····​move-​result-​object·​v6139 ····​move-​result-​object·​v6
  
137 ····​iput-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​140 ····​iput-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
138 ····​.​line·​259141 ····​.​line·​259
Offset 184, 19 lines modifiedOffset 187, 21 lines modified
  
184 ····​move-​result-​object·​v6187 ····​move-​result-​object·​v6
  
185 ····​const/​4·​v7,​·​0x5188 ····​const/​4·​v7,​·​0x5
  
186 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​189 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
 190 ····​.​line·​264
187 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>mUsername:​Ljava/​lang/​String;​191 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>mUsername:​Ljava/​lang/​String;​
188 ····​invoke-​static·​{v8},​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>access$500(Lcom/​alexkang/​bluechat/​ClientActivity;​)​Ljava/​lang/​String;​192 ····​invoke-​static·​{v8},​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>access$500(Lcom/​alexkang/​bluechat/​ClientActivity;​)​Ljava/​lang/​String;​
  
189 ····​move-​result-​object·​v8193 ····​move-​result-​object·​v8
  
 194 ····​.​line·​262
190 ····​invoke-​virtual·​{v6,​·​v7,​·​v8,​·​v2},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B195 ····​invoke-​virtual·​{v6,​·​v7,​·​v8,​·​v2},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B
  
191 ····​move-​result-​object·​v4196 ····​move-​result-​object·​v4
  
192 ····​.​line·​267197 ····​.​line·​267
193 ····​.​local·​v4,​·​"packet":​[B198 ····​.​local·​v4,​·​"packet":​[B
194 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​199 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$SendIm​ageThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​ClientActivity;​
656 B
smali/com/alexkang/bluechat/ClientActivity.smali
Offset 62, 15 lines modifiedOffset 62, 14 lines modified
62 ····​.​line·​4862 ····​.​line·​48
63 ····​new-​instance·​v0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​63 ····​new-​instance·​v0,​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​
  
64 ····​invoke-​direct·​{v0,​·​p0},​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​-​><init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V64 ····​invoke-​direct·​{v0,​·​p0},​·​Lcom/​alexkang/​bluechat/​ClientActivity$1;​-​><init>(Lcom/​alexkang/​bluechat/​ClientActivity;​)​V
  
65 ····​iput-​object·​v0,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>mReceiver:​Landroid/​content/​BroadcastReceiver;​65 ····​iput-​object·​v0,​·​p0,​·​Lcom/​alexkang/​bluechat/​ClientActivity;​-​>mReceiver:​Landroid/​content/​BroadcastReceiver;​
  
66 ····​.​line·​276 
67 ····​return-​void66 ····​return-​void
68 .​end·​method67 .​end·​method
  
69 .​method·​static·​synthetic·​access$000(Lcom/​alexkang/​bluechat/​ClientActivity;​)​Ljava/​util/​ArrayList;​68 .​method·​static·​synthetic·​access$000(Lcom/​alexkang/​bluechat/​ClientActivity;​)​Ljava/​util/​ArrayList;​
70 ····​.​locals·​169 ····​.​locals·​1
71 ····​.​param·​p0,​·​"x0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​70 ····​.​param·​p0,​·​"x0"····​#·​Lcom/​alexkang/​bluechat/​ClientActivity;​
  
573 B
smali/com/alexkang/bluechat/HostActivity$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​6327 ····​.​line·​63
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
573 B
smali/com/alexkang/bluechat/HostActivity$2.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​7027 ····​.​line·​70
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
673 B
smali/com/alexkang/bluechat/HostActivity$3.smali
Offset 24, 14 lines modifiedOffset 24, 15 lines modified
  
24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​
  
  
25 #·​direct·​methods25 #·​direct·​methods
26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​widget/​EditText;​Landroid/​view/​inputmethod/​InputMethodManager;​)​V26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​widget/​EditText;​Landroid/​view/​inputmethod/​InputMethodManager;​)​V
27 ····​.​locals·​027 ····​.​locals·​0
 28 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
28 ····​.​prologue29 ····​.​prologue
29 ····​.​line·​12030 ····​.​line·​120
30 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​31 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
31 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$3;​-​>val$nameInput:​Landroid/​widget/​EditText;​32 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$3;​-​>val$nameInput:​Landroid/​widget/​EditText;​
  
687 B
smali/com/alexkang/bluechat/HostActivity$4.smali
Offset 24, 14 lines modifiedOffset 24, 15 lines modified
  
24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​
  
  
25 #·​direct·​methods25 #·​direct·​methods
26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​)​V26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​)​V
27 ····​.​locals·​027 ····​.​locals·​0
 28 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
28 ····​.​prologue29 ····​.​prologue
29 ····​.​line·​13330 ····​.​line·​133
30 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​31 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
31 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$4;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​32 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$4;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​
  
574 B
smali/com/alexkang/bluechat/HostActivity$5.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​14027 ····​.​line·​140
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$5;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$5;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
622 B
smali/com/alexkang/bluechat/HostActivity$6.smali
Offset 22, 14 lines modifiedOffset 22, 15 lines modified
  
22 .​field·​final·​synthetic·​val$dialog:​Landroid/​app/​AlertDialog;​22 .​field·​final·​synthetic·​val$dialog:​Landroid/​app/​AlertDialog;​
  
  
23 #·​direct·​methods23 #·​direct·​methods
24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​app/​AlertDialog;​)​V24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity;​Landroid/​app/​AlertDialog;​)​V
25 ····​.​locals·​025 ····​.​locals·​0
 26 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
26 ····​.​prologue27 ····​.​prologue
27 ····​.​line·​15228 ····​.​line·​152
28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$6;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​29 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$6;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
29 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$6;​-​>val$dialog:​Landroid/​app/​AlertDialog;​30 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$6;​-​>val$dialog:​Landroid/​app/​AlertDialog;​
  
743 B
smali/com/alexkang/bluechat/HostActivity$AcceptThread$1.smali
Offset 22, 14 lines modifiedOffset 22, 15 lines modified
  
22 .​field·​final·​synthetic·​val$socket:​Landroid/​bluetooth/​BluetoothSocket;​22 .​field·​final·​synthetic·​val$socket:​Landroid/​bluetooth/​BluetoothSocket;​
  
  
23 #·​direct·​methods23 #·​direct·​methods
24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​Landroid/​bluetooth/​BluetoothSocket;​)​V24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​Landroid/​bluetooth/​BluetoothSocket;​)​V
25 ····​.​locals·​025 ····​.​locals·​0
 26 ····​.​param·​p1,​·​"this$1"····​#·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​
  
26 ····​.​prologue27 ····​.​prologue
27 ····​.​line·​35428 ····​.​line·​354
28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​29 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​
  
29 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read$1;​-​>val$socket:​Landroid/​bluetooth/​BluetoothSocket;​30 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read$1;​-​>val$socket:​Landroid/​bluetooth/​BluetoothSocket;​
  
1.22 KB
smali/com/alexkang/bluechat/HostActivity$AcceptThread.smali
Offset 44, 25 lines modifiedOffset 44, 27 lines modified
44 ····​.​line·​33144 ····​.​line·​331
45 ····​:​try_start_045 ····​:​try_start_0
46 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mBluetoothAdapter:​Landroid/​bluetooth/​BluetoothAdapter;​46 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mBluetoothAdapter:​Landroid/​bluetooth/​BluetoothAdapter;​
47 ····​invoke-​static·​{p1},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$600(Lcom/​alexkang/​bluechat/​HostActivity;​)​Landroid/​bluetooth/​BluetoothAdapter;​47 ····​invoke-​static·​{p1},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$600(Lcom/​alexkang/​bluechat/​HostActivity;​)​Landroid/​bluetooth/​BluetoothAdapter;​
  
48 ····​move-​result-​object·​v248 ····​move-​result-​object·​v2
  
 49 ····​.​line·​333
49 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mChatRoomName:​Ljava/​lang/​String;​50 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mChatRoomName:​Ljava/​lang/​String;​
50 ····​invoke-​static·​{p1},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$200(Lcom/​alexkang/​bluechat/​HostActivity;​)​Ljava/​lang/​String;​51 ····​invoke-​static·​{p1},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$200(Lcom/​alexkang/​bluechat/​HostActivity;​)​Ljava/​lang/​String;​
  
51 ····​move-​result-​object·​v352 ····​move-​result-​object·​v3
  
52 ····​const-​string·​v4,​·​"28286a80-​137b-​11e4-​bbe8-​0002a5d5c51b"53 ····​const-​string·​v4,​·​"28286a80-​137b-​11e4-​bbe8-​0002a5d5c51b"
  
53 ····​invoke-​static·​{v4},​·​Ljava/​util/​UUID;​-​>fromString(Ljava/​lang/​String;​)​Ljava/​util/​UUID;​54 ····​invoke-​static·​{v4},​·​Ljava/​util/​UUID;​-​>fromString(Ljava/​lang/​String;​)​Ljava/​util/​UUID;​
  
54 ····​move-​result-​object·​v455 ····​move-​result-​object·​v4
  
 56 ····​.​line·​332
55 ····​invoke-​virtual·​{v2,​·​v3,​·​v4},​·​Landroid/​bluetooth/​BluetoothAdapter;​-​>listenUsingRfcommWit​hServiceRecord(Ljava/​lang/​String;​Ljava/​util/​UUID;​)​Landroid/​bluetooth/​BluetoothServerSocket​;​57 ····​invoke-​virtual·​{v2,​·​v3,​·​v4},​·​Landroid/​bluetooth/​BluetoothAdapter;​-​>listenUsingRfcommWit​hServiceRecord(Ljava/​lang/​String;​Ljava/​util/​UUID;​)​Landroid/​bluetooth/​BluetoothServerSocket​;​
56 ····​:​try_end_058 ····​:​try_end_0
57 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_059 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
58 ····​move-​result-​object·​v160 ····​move-​result-​object·​v1
  
59 ····​.​line·​34061 ····​.​line·​340
686 B
smali/com/alexkang/bluechat/HostActivity$SendImageThread$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​21 .​field·​final·​synthetic·​this$1:​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$1"····​#·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​27427 ····​.​line·​274
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread$1;​-​>this$1:​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
2.0 KB
smali/com/alexkang/bluechat/HostActivity$SendImageThread.smali
Offset 118, 38 lines modifiedOffset 118, 41 lines modified
118 ····​.​line·​295118 ····​.​line·​295
119 ····​.​local·​v5,​·​"scalingFactor":​F119 ····​.​local·​v5,​·​"scalingFactor":​F
120 ····​:​goto_1120 ····​:​goto_1
121 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​121 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
122 ····​iget-​object·​v7,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​122 ····​iget-​object·​v7,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
 123 ····​.​line·​297
123 ····​invoke-​virtual·​{v7},​·​Landroid/​graphics/​Bitmap;​-​>getWidth()​I124 ····​invoke-​virtual·​{v7},​·​Landroid/​graphics/​Bitmap;​-​>getWidth()​I
  
124 ····​move-​result·​v7125 ····​move-​result·​v7
  
125 ····​int-​to-​float·​v7,​·​v7126 ····​int-​to-​float·​v7,​·​v7
  
126 ····​mul-​float/​2addr·​v7,​·​v5127 ····​mul-​float/​2addr·​v7,​·​v5
  
127 ····​float-​to-​int·​v7,​·​v7128 ····​float-​to-​int·​v7,​·​v7
  
128 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​129 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
 130 ····​.​line·​298
129 ····​invoke-​virtual·​{v8},​·​Landroid/​graphics/​Bitmap;​-​>getHeight()​I131 ····​invoke-​virtual·​{v8},​·​Landroid/​graphics/​Bitmap;​-​>getHeight()​I
  
130 ····​move-​result·​v8132 ····​move-​result·​v8
  
131 ····​int-​to-​float·​v8,​·​v8133 ····​int-​to-​float·​v8,​·​v8
  
132 ····​mul-​float/​2addr·​v8,​·​v5134 ····​mul-​float/​2addr·​v8,​·​v5
  
133 ····​float-​to-​int·​v8,​·​v8135 ····​float-​to-​int·​v8,​·​v8
  
134 ····​const/​4·​v9,​·​0x0136 ····​const/​4·​v9,​·​0x0
  
 137 ····​.​line·​295
135 ····​invoke-​static·​{v6,​·​v7,​·​v8,​·​v9},​·​Landroid/​graphics/​Bitmap;​-​>createScaledBitmap(L​android/​graphics/​Bitmap;​IIZ)​Landroid/​graphics/​Bitmap;​138 ····​invoke-​static·​{v6,​·​v7,​·​v8,​·​v9},​·​Landroid/​graphics/​Bitmap;​-​>createScaledBitmap(L​android/​graphics/​Bitmap;​IIZ)​Landroid/​graphics/​Bitmap;​
  
136 ····​move-​result-​object·​v6139 ····​move-​result-​object·​v6
  
137 ····​iput-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​140 ····​iput-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>bitmap:​Landroid/​graphics/​Bitmap;​
  
138 ····​.​line·​304141 ····​.​line·​304
Offset 184, 19 lines modifiedOffset 187, 21 lines modified
  
184 ····​move-​result-​object·​v6187 ····​move-​result-​object·​v6
  
185 ····​const/​4·​v7,​·​0x5188 ····​const/​4·​v7,​·​0x5
  
186 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​189 ····​iget-​object·​v8,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
  
 190 ····​.​line·​309
187 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mUsername:​Ljava/​lang/​String;​191 ····​#·​getter·​for:​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mUsername:​Ljava/​lang/​String;​
188 ····​invoke-​static·​{v8},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$400(Lcom/​alexkang/​bluechat/​HostActivity;​)​Ljava/​lang/​String;​192 ····​invoke-​static·​{v8},​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>access$400(Lcom/​alexkang/​bluechat/​HostActivity;​)​Ljava/​lang/​String;​
  
189 ····​move-​result-​object·​v8193 ····​move-​result-​object·​v8
  
 194 ····​.​line·​307
190 ····​invoke-​virtual·​{v6,​·​v7,​·​v8,​·​v2},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B195 ····​invoke-​virtual·​{v6,​·​v7,​·​v8,​·​v2},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B
  
191 ····​move-​result-​object·​v4196 ····​move-​result-​object·​v4
  
192 ····​.​line·​312197 ····​.​line·​312
193 ····​.​local·​v4,​·​"packet":​[B198 ····​.​local·​v4,​·​"packet":​[B
194 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​199 ····​iget-​object·​v6,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity$SendImag​eThread;​-​>this$0:​Lcom/​alexkang/​bluechat/​HostActivity;​
4.08 KB
smali/com/alexkang/bluechat/HostActivity.smali
Offset 47, 15 lines modifiedOffset 47, 14 lines modified
47 .​method·​public·​constructor·​<init>()​V47 .​method·​public·​constructor·​<init>()​V
48 ····​.​locals·​048 ····​.​locals·​0
  
49 ····​.​prologue49 ····​.​prologue
50 ····​.​line·​3550 ····​.​line·​35
51 ····​invoke-​direct·​{p0},​·​Landroid/​app/​Activity;​-​><init>()​V51 ····​invoke-​direct·​{p0},​·​Landroid/​app/​Activity;​-​><init>()​V
  
52 ····​.​line·​321 
53 ····​return-​void52 ····​return-​void
54 .​end·​method53 .​end·​method
  
55 .​method·​static·​synthetic·​access$000(Lcom/​alexkang/​bluechat/​HostActivity;​)​V54 .​method·​static·​synthetic·​access$000(Lcom/​alexkang/​bluechat/​HostActivity;​)​V
56 ····​.​locals·​055 ····​.​locals·​0
57 ····​.​param·​p0,​·​"x0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​56 ····​.​param·​p0,​·​"x0"····​#·​Lcom/​alexkang/​bluechat/​HostActivity;​
  
Offset 211, 18 lines modifiedOffset 210, 20 lines modified
  
211 ····​const/​4·​v2,​·​0x2210 ····​const/​4·​v2,​·​0x2
  
212 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mUsername:​Ljava/​lang/​String;​211 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mUsername:​Ljava/​lang/​String;​
  
213 ····​iget-​object·​v4,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mChatRoomName:​Ljava/​lang/​String;​212 ····​iget-​object·​v4,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mChatRoomName:​Ljava/​lang/​String;​
  
 213 ····​.​line·​257
214 ····​invoke-​virtual·​{v4},​·​Ljava/​lang/​String;​-​>getBytes()​[B214 ····​invoke-​virtual·​{v4},​·​Ljava/​lang/​String;​-​>getBytes()​[B
  
215 ····​move-​result-​object·​v4215 ····​move-​result-​object·​v4
  
 216 ····​.​line·​254
216 ····​invoke-​virtual·​{v1,​·​v2,​·​v3,​·​v4},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B217 ····​invoke-​virtual·​{v1,​·​v2,​·​v3,​·​v4},​·​Lcom/​alexkang/​bluechat/​ChatManager;​-​>buildPacket(ILjava/​lang/​String;​[B)​[B
  
217 ····​move-​result-​object·​v0218 ····​move-​result-​object·​v0
  
218 ····​.​line·​260219 ····​.​line·​260
219 ····​.​local·​v0,​·​"byteArray":​[B220 ····​.​local·​v0,​·​"byteArray":​[B
220 ····​const-​string·​v1,​·​"User·​connected"221 ····​const-​string·​v1,​·​"User·​connected"
Offset 736, 54 lines modifiedOffset 737, 53 lines modified
736 ····​.​locals·​5737 ····​.​locals·​5
  
737 ····​.​prologue738 ····​.​prologue
738 ····​.​line·​231739 ····​.​line·​231
739 ····​invoke-​super·​{p0},​·​Landroid/​app/​Activity;​-​>onDestroy()​V740 ····​invoke-​super·​{p0},​·​Landroid/​app/​Activity;​-​>onDestroy()​V
  
740 ····​.​line·​233741 ····​.​line·​233
741 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mAcceptThread:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​742 ····​iget-​object·​v2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mAcceptThread:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​
  
742 ····​if-​eqz·​v3,​·​:​cond_0743 ····​if-​eqz·​v2,​·​:​cond_0
  
743 ····​.​line·​234744 ····​.​line·​234
744 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mAcceptThread:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​745 ····​iget-​object·​v2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mAcceptThread:​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​
  
745 ····​invoke-​virtual·​{v3},​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​-​>cancel()​V746 ····​invoke-​virtual·​{v2},​·​Lcom/​alexkang/​bluechat/​HostActivity$AcceptTh​read;​-​>cancel()​V
  
746 ····​.​line·​237747 ····​.​line·​237
747 ····​:​cond_0748 ····​:​cond_0
748 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mSockets:​Ljava/​util/​ArrayList;​749 ····​iget-​object·​v2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mSockets:​Ljava/​util/​ArrayList;​
  
749 ····​if-​eqz·​v3,​·​:​cond_1750 ····​if-​eqz·​v2,​·​:​cond_1
  
750 ····​.​line·​238751 ····​.​line·​238
751 ····​iget-​object·​v3,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mSockets:​Ljava/​util/​ArrayList;​752 ····​iget-​object·​v2,​·​p0,​·​Lcom/​alexkang/​bluechat/​HostActivity;​-​>mSockets:​Ljava/​util/​ArrayList;​
  
752 ····​invoke-​virtual·​{v3},​·​Ljava/​util/​ArrayList;​-​>iterator()​Ljava/​util/​Iterator;​753 ····​invoke-​virtual·​{v2},​·​Ljava/​util/​ArrayList;​-​>iterator()​Ljava/​util/​Iterator;​
  
753 ····​move-​result-​object·​v1754 ····​move-​result-​object·​v2
  
754 ····​.​local·​v1,​·​"i$":​Ljava/​util/​Iterator;​ 
755 ····​:​goto_0755 ····​:​goto_0
756 ····​invoke-​interface·​{v1},​·​Ljava/​util/​Iterator;​-​>hasNext()​Z756 ····​invoke-​interface·​{v2},​·​Ljava/​util/​Iterator;​-​>hasNext()​Z
  
757 ····​move-​result·​v3757 ····​move-​result·​v3
  
758 ····​if-​eqz·​v3,​·​:​cond_1758 ····​if-​eqz·​v3,​·​:​cond_1
  
759 ····​invoke-​interface·​{v1},​·​Ljava/​util/​Iterator;​-​>next()​Ljava/​lang/​Object;​759 ····​invoke-​interface·​{v2},​·​Ljava/​util/​Iterator;​-​>next()​Ljava/​lang/​Object;​
  
760 ····​move-​result-​object·​v2760 ····​move-​result-​object·​v1
  
761 ····​check-​cast·​v2,​·​Landroid/​bluetooth/​BluetoothSocket;​761 ····​check-​cast·​v1,​·​Landroid/​bluetooth/​BluetoothSocket;​
  
762 ····​.​line·​240762 ····​.​line·​240
763 ····​.​local·​v2,​·​"socket":​Landroid/​bluetooth/​BluetoothSocket;​763 ····​.​local·​v1,​·​"socket":​Landroid/​bluetooth/​BluetoothSocket;​
764 ····​:​try_start_0764 ····​:​try_start_0
765 ····​invoke-​virtual·​{v2},​·​Landroid/​bluetooth/​BluetoothSocket;​-​>close()​V765 ····​invoke-​virtual·​{v1},​·​Landroid/​bluetooth/​BluetoothSocket;​-​>close()​V
766 ····​:​try_end_0766 ····​:​try_end_0
767 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0767 ····​.​catch·​Ljava/​io/​IOException;​·​{:​try_start_0·​.​.​·​:​try_end_0}·​:​catch_0
  
768 ····​goto·​:​goto_0768 ····​goto·​:​goto_0
  
769 ····​.​line·​241769 ····​.​line·​241
770 ····​:​catch_0770 ····​:​catch_0
Offset 806, 16 lines modifiedOffset 806, 15 lines modified
  
806 ····​invoke-​virtual·​{v3,​·​v4},​·​Ljava/​io/​PrintStream;​-​>println(Ljava/​lang/​String;​)​V806 ····​invoke-​virtual·​{v3,​·​v4},​·​Ljava/​io/​PrintStream;​-​>println(Ljava/​lang/​String;​)​V
  
807 ····​goto·​:​goto_0807 ····​goto·​:​goto_0
  
808 ····​.​line·​247808 ····​.​line·​247
809 ····​.​end·​local·​v0····​#·​"e":​Ljava/​io/​IOException;​809 ····​.​end·​local·​v0····​#·​"e":​Ljava/​io/​IOException;​
810 ····​.​end·​local·​v1····​#·​"i$":​Ljava/​util/​Iterator;​810 ····​.​end·​local·​v1····​#·​"socket":​Landroid/​bluetooth/​BluetoothSocket;​
811 ····​.​end·​local·​v2····​#·​"socket":​Landroid/​bluetooth/​BluetoothSocket;​ 
812 ····​:​cond_1811 ····​:​cond_1
813 ····​return-​void812 ····​return-​void
814 .​end·​method813 .​end·​method
  
815 .​method·​public·​onOptionsItemSelected​(Landroid/​view/​MenuItem;​)​Z814 .​method·​public·​onOptionsItemSelected​(Landroid/​view/​MenuItem;​)​Z
816 ····​.​locals·​3815 ····​.​locals·​3
817 ····​.​param·​p1,​·​"item"····​#·​Landroid/​view/​MenuItem;​816 ····​.​param·​p1,​·​"item"····​#·​Landroid/​view/​MenuItem;​
573 B
smali/com/alexkang/bluechat/MainActivity$1.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MainActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​3627 ····​.​line·​36
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
573 B
smali/com/alexkang/bluechat/MainActivity$2.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MainActivity;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​4327 ····​.​line·​43
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
732 B
smali/com/alexkang/bluechat/MainActivity$3.smali
Offset 26, 14 lines modifiedOffset 26, 15 lines modified
  
26 .​field·​final·​synthetic·​val$sharedPref:​Landroid/​content/​SharedPreferences;​26 .​field·​final·​synthetic·​val$sharedPref:​Landroid/​content/​SharedPreferences;​
  
  
27 #·​direct·​methods27 #·​direct·​methods
28 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​Landroid/​content/​SharedPreferences;​)​V28 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​Landroid/​content/​SharedPreferences;​)​V
29 ····​.​locals·​029 ····​.​locals·​0
 30 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MainActivity;​
  
30 ····​.​prologue31 ····​.​prologue
31 ····​.​line·​8532 ····​.​line·​85
32 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​33 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$3;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
33 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$3;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​34 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$3;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​
  
686 B
smali/com/alexkang/bluechat/MainActivity$4.smali
Offset 24, 14 lines modifiedOffset 24, 15 lines modified
  
24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​24 .​field·​final·​synthetic·​val$nameInput:​Landroid/​widget/​EditText;​
  
  
25 #·​direct·​methods25 #·​direct·​methods
26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​)​V26 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​view/​inputmethod/​InputMethodManager;​Landroid/​widget/​EditText;​)​V
27 ····​.​locals·​027 ····​.​locals·​0
 28 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MainActivity;​
  
28 ····​.​prologue29 ····​.​prologue
29 ····​.​line·​9230 ····​.​line·​92
30 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​31 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$4;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
31 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$4;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​32 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$4;​-​>val$imm:​Landroid/​view/​inputmethod/​InputMethodManager;​
  
622 B
smali/com/alexkang/bluechat/MainActivity$5.smali
Offset 22, 14 lines modifiedOffset 22, 15 lines modified
  
22 .​field·​final·​synthetic·​val$dialog:​Landroid/​app/​AlertDialog;​22 .​field·​final·​synthetic·​val$dialog:​Landroid/​app/​AlertDialog;​
  
  
23 #·​direct·​methods23 #·​direct·​methods
24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​app/​AlertDialog;​)​V24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MainActivity;​Landroid/​app/​AlertDialog;​)​V
25 ····​.​locals·​025 ····​.​locals·​0
 26 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MainActivity;​
  
26 ····​.​prologue27 ····​.​prologue
27 ····​.​line·​10328 ····​.​line·​103
28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$5;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​29 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$5;​-​>this$0:​Lcom/​alexkang/​bluechat/​MainActivity;​
  
29 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$5;​-​>val$dialog:​Landroid/​app/​AlertDialog;​30 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MainActivity$5;​-​>val$dialog:​Landroid/​app/​AlertDialog;​
  
692 B
smali/com/alexkang/bluechat/MessageFeedAdapter$1.smali
Offset 22, 14 lines modifiedOffset 22, 15 lines modified
  
22 .​field·​final·​synthetic·​val$message:​Lcom/​alexkang/​bluechat/​MessageBox;​22 .​field·​final·​synthetic·​val$message:​Lcom/​alexkang/​bluechat/​MessageBox;​
  
  
23 #·​direct·​methods23 #·​direct·​methods
24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​Lcom/​alexkang/​bluechat/​MessageBox;​)​V24 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​Lcom/​alexkang/​bluechat/​MessageBox;​)​V
25 ····​.​locals·​025 ····​.​locals·​0
 26 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​
  
26 ····​.​prologue27 ····​.​prologue
27 ····​.​line·​7928 ····​.​line·​79
28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​29 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$1;​-​>this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​
  
29 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$1;​-​>val$message:​Lcom/​alexkang/​bluechat/​MessageBox;​30 ····​iput-​object·​p2,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$1;​-​>val$message:​Lcom/​alexkang/​bluechat/​MessageBox;​
  
615 B
smali/com/alexkang/bluechat/MessageFeedAdapter$2.smali
Offset 20, 14 lines modifiedOffset 20, 15 lines modified
20 #·​instance·​fields20 #·​instance·​fields
21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​21 .​field·​final·​synthetic·​this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​
  
  
22 #·​direct·​methods22 #·​direct·​methods
23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​)​V23 .​method·​constructor·​<init>(Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​)​V
24 ····​.​locals·​024 ····​.​locals·​0
 25 ····​.​param·​p1,​·​"this$0"····​#·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​
  
25 ····​.​prologue26 ····​.​prologue
26 ····​.​line·​9027 ····​.​line·​90
27 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​28 ····​iput-​object·​p1,​·​p0,​·​Lcom/​alexkang/​bluechat/​MessageFeedAdapter$2;​-​>this$0:​Lcom/​alexkang/​bluechat/​MessageFeedAdapter;​
  
28 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V29 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
274 B
smali/com/alexkang/bluechat/R.smali
Offset 23, 10 lines modifiedOffset 23, 9 lines modified
23 .​method·​public·​constructor·​<init>()​V23 .​method·​public·​constructor·​<init>()​V
24 ····​.​locals·​024 ····​.​locals·​0
  
25 ····​.​prologue25 ····​.​prologue
26 ····​.​line·​1026 ····​.​line·​10
27 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V27 ····​invoke-​direct·​{p0},​·​Ljava/​lang/​Object;​-​><init>()​V
  
28 ····​.​line·​75 
29 ····​return-​void28 ····​return-​void
30 .​end·​method29 .​end·​method