Skip to content

Commit

Permalink
posibility to transfer registration to another device
Browse files Browse the repository at this point in the history
  • Loading branch information
vzakharchenko committed Sep 20, 2020
1 parent 6e9c161 commit dbdbe08
Show file tree
Hide file tree
Showing 13 changed files with 699 additions and 199 deletions.
2 changes: 1 addition & 1 deletion OUTLANDER_PHEV_REMOTE_APK/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<activity android:name="com.inventec.iMobile2.BxRemoveVin" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.BxShowAlarmHistory" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.BxShowAllVersion" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.BxShowWiFiLogs" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.BxShowWiFiLogs" android:exported="true" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.BxWifiConnectionSetting" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.Bxchannelchange" android:screenOrientation="portrait"/>
<activity android:name="com.inventec.iMobile2.V2HDirectionsActivity" android:screenOrientation="portrait"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@

check-cast p2, Lcom/inventec/controls/MmcFontTextView;

const/4 v0, 0x1

sput-boolean v0, Lcom/inventec/iMobile2/a2/b;->f:Z

sget-boolean v0, Lcom/inventec/iMobile2/a2/b;->f:Z

const/4 v1, 0x5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@

move-result-object p2

# invoke-static {v0}, Lcom/inventec/iMobile2/a2/g;->saveFile1([B)V
invoke-direct {p1, v0, p2}, Ljavax/crypto/spec/SecretKeySpec;-><init>([BLjava/lang/String;)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
Expand Down
23 changes: 11 additions & 12 deletions OUTLANDER_PHEV_REMOTE_APK/smali/com/inventec/iMobile2/a2/b.smali
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


# static fields
.field public static f:Z = true
.field public static f:Z = false

.field public static g:Z = true
.field public static g:Z = false

.field public static h:Z = true
.field public static h:Z = false

.field static i:Z = false

Expand All @@ -35,8 +35,6 @@

const/4 v1, 0x1

sput-boolean v1, Lcom/inventec/iMobile2/a2/b;->f:Z

:try_start_0
new-instance v0, Ljava/lang/StringBuilder;

Expand Down Expand Up @@ -89,7 +87,6 @@
.locals 1

const/4 v0, 0x1
sput-boolean v0, Lcom/inventec/iMobile2/a2/b;->f:Z
:try_start_0
sget-boolean v0, Lcom/inventec/iMobile2/a2/b;->f:Z

Expand Down Expand Up @@ -117,8 +114,6 @@

const/4 v0, 0x1

sput-boolean v0, Lcom/inventec/iMobile2/a2/b;->f:Z

move-object/from16 v0, p0

sget-boolean v1, Lcom/inventec/iMobile2/a2/b;->f:Z
Expand Down Expand Up @@ -1472,12 +1467,13 @@

if-eqz v0, :cond_1

const-wide/16 v1, 0x3e8
const-wide/16 v1, 0x3a98

const/4 v3, 0x0

:try_start_0
invoke-virtual {v0, v1, v2}, Ljava/lang/Thread;->join(J)V
const-wide/16 v1, 0x3e8
:try_end_0
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
Expand Down Expand Up @@ -2522,8 +2518,9 @@

:try_start_4
iget-object v2, p0, Lcom/inventec/iMobile2/a2/b;->e:Ljava/lang/Thread;

const-wide/16 v0, 0x3a98
invoke-virtual {v2, v0, v1}, Ljava/lang/Thread;->join(J)V
const-wide/16 v0, 0x3e8
:try_end_4
.catch Ljava/lang/InterruptedException; {:try_start_4 .. :try_end_4} :catch_1
.catchall {:try_start_4 .. :try_end_4} :catchall_0
Expand Down Expand Up @@ -2604,8 +2601,9 @@

:try_start_a
iget-object v2, p0, Lcom/inventec/iMobile2/a2/b;->e:Ljava/lang/Thread;

const-wide/16 v0, 0x3a98
invoke-virtual {v2, v0, v1}, Ljava/lang/Thread;->join(J)V
const-wide/16 v0, 0x3e8
:try_end_a
.catch Ljava/lang/InterruptedException; {:try_start_a .. :try_end_a} :catch_3
.catchall {:try_start_a .. :try_end_a} :catchall_3
Expand Down Expand Up @@ -2669,8 +2667,9 @@

:try_start_e
iget-object v2, p0, Lcom/inventec/iMobile2/a2/b;->e:Ljava/lang/Thread;

const-wide/16 v0, 0x3a98
invoke-virtual {v2, v0, v1}, Ljava/lang/Thread;->join(J)V
const-wide/16 v0, 0x3e8
:try_end_e
.catch Ljava/lang/InterruptedException; {:try_start_e .. :try_end_e} :catch_4
.catchall {:try_start_e .. :try_end_e} :catchall_4
Expand Down
Loading

0 comments on commit dbdbe08

Please sign in to comment.