forked from szpaku80/Libre2-patched-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xdrip2.git.patch
1470 lines (1321 loc) · 60.2 KB
/
xdrip2.git.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 873d5569a50e89a865fcfe2f6a2829eb7c8628e8..d690249110fa96e17f6fde11f887fb89b14fdf69 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -3,9 +3,6 @@
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.NFC"/>
<uses-permission android:name="android.permission.VIBRATE"/>
- <uses-permission android:name="android.permission.INTERNET"/>
- <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
- <uses-permission android:name="com.android.vending.CHECK_LICENSE"/>
<uses-feature android:name="android.hardware.nfc" android:required="true"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
@@ -15,9 +12,10 @@
<uses-permission-sdk-23 android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
<uses-permission android:name="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<permission android:name="com.freestylelibre.app.de.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
<uses-permission android:name="com.freestylelibre.app.de.permission.C2D_MESSAGE"/>
- <application android:allowBackup="true" android:fullBackupContent="@xml/backup_config" android:icon="@mipmap/ic_launcher" android:label="@string/application_name" android:name="com.librelink.app.core.App" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.Apollo">
+ <application android:debuggable="true" android:allowBackup="true" android:fullBackupContent="@xml/backup_config" android:icon="@mipmap/ic_launcher" android:label="@string/application_name" android:name="com.librelink.app.core.App" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.Apollo">
<meta-data android:name="android.max_aspect" android:value="2.1"/>
<activity android:launchMode="singleTop" android:name="com.librelink.app.ui.SplashActivity" android:noHistory="true" android:screenOrientation="portrait" android:theme="@style/Theme.Apollo">
<intent-filter>
@@ -86,6 +84,7 @@
<receiver android:enabled="true" android:name="com.librelink.app.core.alarms.SensorExpireCheckAlarmReceiver"/>
<service android:exported="false" android:name="com.librelink.app.services.ReminderService" android:permission="android.permission.BIND_JOB_SERVICE"/>
<service android:exported="false" android:name="com.librelink.app.services.SendTroubleshootingDataService" android:permission="android.permission.BIND_JOB_SERVICE"/>
+ <service android:exported="false" android:name="com.librelink.app.ForegroundService" />
<receiver android:name="com.librelink.app.services.SendTroubleshootingDataService$RetryReceiver"/>
<receiver android:name="com.librelink.app.receivers.SensorStatusReceiver">
<intent-filter>
@@ -109,21 +108,6 @@
<action android:name="com.freestylelibre.app.de.action.ALARM_CLEARED"/>
</intent-filter>
</receiver>
- <receiver android:name="com.librelink.app.receivers.DataUploadReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED"/>
- </intent-filter>
- </receiver>
- <receiver android:name="com.librelink.app.receivers.LicenseCheckReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED"/>
- </intent-filter>
- </receiver>
- <receiver android:name="com.librelink.app.receivers.ActiveSensorUploadReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED"/>
- </intent-filter>
- </receiver>
<receiver android:name="com.librelink.app.core.alarms.BootCompletedReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
@@ -132,33 +116,6 @@
<provider android:authorities="com.freestylelibre.app.de.fileprovider" android:exported="false" android:grantUriPermissions="true" android:name="com.librelink.app.database.LibreLinkReportsFileProvider">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/file_paths"/>
</provider>
- <meta-data android:name="io.fabric.ApiKey" android:value="fac72c583d907a0c02e2f04666cb63b7ad07c639"/>
- <service android:name="com.google.firebase.components.ComponentDiscoveryService">
- <meta-data android:name="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
- <meta-data android:name="com.google.firebase.components:com.google.firebase.iid.Registrar" android:value="com.google.firebase.components.ComponentRegistrar"/>
- </service>
- <receiver android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementReceiver"/>
- <receiver android:enabled="true" android:exported="true" android:name="com.google.android.gms.measurement.AppMeasurementInstallReferrerReceiver" android:permission="android.permission.INSTALL_PACKAGES">
- <intent-filter>
- <action android:name="com.android.vending.INSTALL_REFERRER"/>
- </intent-filter>
- </receiver>
- <service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementService"/>
- <service android:enabled="true" android:exported="false" android:name="com.google.android.gms.measurement.AppMeasurementJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
- <receiver android:exported="true" android:name="com.google.firebase.iid.FirebaseInstanceIdReceiver" android:permission="com.google.android.c2dm.permission.SEND">
- <intent-filter>
- <action android:name="com.google.android.c2dm.intent.RECEIVE"/>
- <category android:name="com.freestylelibre.app.de"/>
- </intent-filter>
- </receiver>
- <service android:exported="true" android:name="com.google.firebase.iid.FirebaseInstanceIdService">
- <intent-filter android:priority="-500">
- <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
- </intent-filter>
- </service>
- <provider android:authorities="com.freestylelibre.app.de.firebaseinitprovider" android:exported="false" android:initOrder="100" android:name="com.google.firebase.provider.FirebaseInitProvider"/>
- <activity android:exported="false" android:name="com.google.android.gms.common.api.GoogleApiActivity" android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
- <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
<service android:exported="false" android:name="com.evernote.android.job.v21.PlatformJobService" android:permission="android.permission.BIND_JOB_SERVICE"/>
<service android:exported="false" android:name="com.evernote.android.job.v14.PlatformAlarmService" android:permission="android.permission.BIND_JOB_SERVICE"/>
<service android:exported="false" android:name="com.evernote.android.job.v14.PlatformAlarmServiceExact"/>
@@ -176,12 +133,6 @@
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
</intent-filter>
</receiver>
- <service android:enabled="false" android:exported="true" android:name="com.evernote.android.job.gcm.PlatformGcmService" android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE">
- <intent-filter>
- <action android:name="com.google.android.gms.gcm.ACTION_TASK_READY"/>
- </intent-filter>
- </service>
<service android:exported="false" android:name="com.evernote.android.job.JobRescheduleService" android:permission="android.permission.BIND_JOB_SERVICE"/>
- <provider android:authorities="com.freestylelibre.app.de.crashlyticsinitprovider" android:exported="false" android:initOrder="90" android:name="com.crashlytics.android.CrashlyticsInitProvider"/>
</application>
</manifest>
\ No newline at end of file
diff --git a/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali b/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali
index dd0234c3e59bf86c92c91628d0376e450596ca3e..cb1925940cba9844ea7208ddeb202f96a37fe9b8 100644
--- a/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali
+++ b/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali
@@ -1169,25 +1169,6 @@
return-object v0
.end method
-.method private getFirebaseTree()Lcom/librelink/app/core/FirebaseTree;
- .locals 2
-
- .line 654
- new-instance v0, Lcom/librelink/app/core/FirebaseTree;
-
- iget-object v1, p0, Lcom/librelink/app/core/components/DaggerAppComponent;->provideAnalyticsProvider:Ljavax/inject/Provider;
-
- invoke-interface {v1}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object v1
-
- check-cast v1, Lcom/librelink/app/types/Analytics;
-
- invoke-direct {v0, v1}, Lcom/librelink/app/core/FirebaseTree;-><init>(Lcom/librelink/app/types/Analytics;)V
-
- return-object v0
-.end method
-
.method private getGlucoseUnit()Lcom/librelink/app/types/GlucoseUnit;
.locals 2
@@ -6671,13 +6652,6 @@
invoke-static {p1, v0}, Lcom/librelink/app/core/App_MembersInjector;->injectInitialIntent(Lcom/librelink/app/core/App;Ljavax/inject/Provider;)V
- .line 1730
- invoke-direct {p0}, Lcom/librelink/app/core/components/DaggerAppComponent;->getFirebaseTree()Lcom/librelink/app/core/FirebaseTree;
-
- move-result-object v0
-
- invoke-static {p1, v0}, Lcom/librelink/app/core/App_MembersInjector;->injectFirebaseTree(Lcom/librelink/app/core/App;Lcom/librelink/app/core/FirebaseTree;)V
-
.line 1731
iget-object v0, p0, Lcom/librelink/app/core/components/DaggerAppComponent;->provideBleManagerProvider:Ljavax/inject/Provider;
diff --git a/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali b/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali
index dff06c52d1bbfd2ef5e769af33ec81349a863914..18588c935e40ee578cdc2db766068e2be5d2689a 100644
--- a/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali
+++ b/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali
@@ -20,18 +20,14 @@
# instance fields
.field final synthetic this$0:Lcom/librelink/app/core/modules/AppModule;
-.field final synthetic val$firebaseAnalytics:Lcom/google/firebase/analytics/FirebaseAnalytics;
-
# direct methods
-.method constructor <init>(Lcom/librelink/app/core/modules/AppModule;Lcom/google/firebase/analytics/FirebaseAnalytics;)V
+.method constructor <init>(Lcom/librelink/app/core/modules/AppModule;)V
.locals 0
.line 538
iput-object p1, p0, Lcom/librelink/app/core/modules/AppModule$2;->this$0:Lcom/librelink/app/core/modules/AppModule;
- iput-object p2, p0, Lcom/librelink/app/core/modules/AppModule$2;->val$firebaseAnalytics:Lcom/google/firebase/analytics/FirebaseAnalytics;
-
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
@@ -51,23 +47,13 @@
.end method
.method public setUserId(Ljava/lang/String;)V
- .locals 1
-
- .line 577
- iget-object v0, p0, Lcom/librelink/app/core/modules/AppModule$2;->val$firebaseAnalytics:Lcom/google/firebase/analytics/FirebaseAnalytics;
-
- invoke-virtual {v0, p1}, Lcom/google/firebase/analytics/FirebaseAnalytics;->setUserId(Ljava/lang/String;)V
+ .locals 0
return-void
.end method
.method public setUserProperty(Ljava/lang/String;Ljava/lang/String;)V
- .locals 1
-
- .line 571
- iget-object v0, p0, Lcom/librelink/app/core/modules/AppModule$2;->val$firebaseAnalytics:Lcom/google/firebase/analytics/FirebaseAnalytics;
-
- invoke-virtual {v0, p1, p2}, Lcom/google/firebase/analytics/FirebaseAnalytics;->setUserProperty(Ljava/lang/String;Ljava/lang/String;)V
+ .locals 0
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali b/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali
index 0eea76665ea32d4a929086842c9e1016a9321038..e48b4c9de88d0a2e3562195bd1646ee3f5399a27 100644
--- a/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali
+++ b/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali
@@ -98,71 +98,6 @@
.method private processIntent(Landroid/content/Intent;)V
.locals 4
- .line 103
- iget-object v0, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->labelingService:Lcom/librelink/app/network/LabelingService;
-
- invoke-interface {v0}, Lcom/librelink/app/network/LabelingService;->isCachedConfigurationFilePresent()Z
-
- move-result v0
-
- if-eqz v0, :cond_2
-
- iget-object v0, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->setupComplete:Ljavax/inject/Provider;
-
- .line 104
- invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object v0
-
- check-cast v0, Ljava/lang/Boolean;
-
- invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
-
- move-result v0
-
- if-eqz v0, :cond_2
-
- iget-object v0, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->networkService:Ljavax/inject/Provider;
-
- .line 105
- invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object v0
-
- check-cast v0, Lcom/librelink/app/network/NetworkService;
-
- invoke-interface {v0}, Lcom/librelink/app/network/NetworkService;->isLoggedIn()Z
-
- move-result v0
-
- if-eqz v0, :cond_2
-
- iget-object v0, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->networkTimeEnabled:Ljavax/inject/Provider;
-
- .line 106
- invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object v0
-
- check-cast v0, Ljava/lang/Boolean;
-
- invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
-
- move-result v0
-
- if-eqz v0, :cond_2
-
- .line 107
- invoke-static {p0}, Lcom/librelink/app/ui/common/DataMigrationActivity;->migrationInProgress(Landroid/content/Context;)Z
-
- move-result v0
-
- if-eqz v0, :cond_0
-
- goto :goto_0
-
- .line 115
- :cond_0
invoke-virtual {p0}, Lcom/librelink/app/ui/common/ScanSensorActivity;->getSupportFragmentManager()Landroid/support/v4/app/FragmentManager;
move-result-object v0
@@ -216,27 +151,6 @@
.line 127
invoke-virtual {v0}, Landroid/support/v4/app/FragmentTransaction;->commitNow()V
- goto :goto_1
-
- .line 109
- :cond_2
- :goto_0
- iget-object p1, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->audioNotifier:Lcom/librelink/app/types/AudioNotifier;
-
- invoke-interface {p1}, Lcom/librelink/app/types/AudioNotifier;->notifyError()V
-
- .line 110
- iget-object p1, p0, Lcom/librelink/app/ui/common/ScanSensorActivity;->initialIntent:Ljavax/inject/Provider;
-
- invoke-interface {p1}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object p1
-
- check-cast p1, Landroid/content/Intent;
-
- invoke-virtual {p0, p1}, Lcom/librelink/app/ui/common/ScanSensorActivity;->startActivity(Landroid/content/Intent;)V
-
- :goto_1
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/ui/help/EventLogActivity.smali b/smali_classes2/com/librelink/app/ui/help/EventLogActivity.smali
index eef8d16efdd61a0c1d5fcc5d1ffda69297d66b1d..d00e1d917978da27d4728a7427b89e9e33b6bb4b 100644
--- a/smali_classes2/com/librelink/app/ui/help/EventLogActivity.smali
+++ b/smali_classes2/com/librelink/app/ui/help/EventLogActivity.smali
@@ -321,12 +321,5 @@
.line 77
invoke-virtual {p1, v0, v1}, Lio/reactivex/Observable;->subscribe(Lio/reactivex/functions/Consumer;Lio/reactivex/functions/Consumer;)Lio/reactivex/disposables/Disposable;
- .line 85
- iget-object p1, p0, Lcom/librelink/app/ui/help/EventLogActivity;->mButtonView:Landroid/view/View;
-
- const/4 v0, 0x0
-
- invoke-virtual {p1, v0}, Landroid/view/View;->setVisibility(I)V
-
return-void
.end method
diff --git a/res/menu/navdrawer.xml b/res/menu/navdrawer.xml
index 00d1eb092cdd2318f0a14b8aeb0f2f0dacc14f12..05beefcc2d1eb36ce5957cef7cb25395980c3d2b 100644
--- a/res/menu/navdrawer.xml
+++ b/res/menu/navdrawer.xml
@@ -22,6 +22,5 @@
<group android:id="@id/group2">
<item android:icon="@drawable/icon_shop_cart_2" android:id="@id/navigation_item_order_sensor" android:title="@string/order_sensors" />
<item android:icon="@drawable/icon_alarm" android:id="@id/navigation_item_reminders" android:title="@string/reminders" />
- <item android:icon="@drawable/ic_share_connected_apps" android:id="@id/navigation_item_share" android:title="@string/menuConnectedApps" />
</group>
</menu>
\ No newline at end of file
diff --git a/smali_classes2/com/librelink/app/core/BleManager$5.smali b/smali_classes2/com/librelink/app/core/BleManager$5.smali
index 8daafb2931712d593c32a2973f64e0813e57baac..6630d275cc8f98d5c71e8feb4a8dcebd43921d1d 100644
--- a/smali_classes2/com/librelink/app/core/BleManager$5.smali
+++ b/smali_classes2/com/librelink/app/core/BleManager$5.smali
@@ -187,6 +187,8 @@
invoke-static {p1, v2, v3}, Lcom/librelink/app/core/BleManager;->access$400(Lcom/librelink/app/core/BleManager;J)V
+ invoke-static {p1}, Lcom/librelink/app/ThirdPartyIntegration;->sendFoundDeviceBroadcast(Lcom/librelink/app/core/BleManager;)V
+
return v1
.line 568
diff --git a/smali_classes2/com/librelink/app/core/FirebaseTree.smali b/smali_classes2/com/librelink/app/core/FirebaseTree.smali
index 0b9a5d12e363ec738673a4cdb0d959988cbdaac1..5783624deeac9a42e8f8c9baa3717bb59bf6ec55 100644
--- a/smali_classes2/com/librelink/app/core/FirebaseTree.smali
+++ b/smali_classes2/com/librelink/app/core/FirebaseTree.smali
@@ -44,60 +44,5 @@
.method protected log(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
-
- .line 33
- invoke-static {p3}, Lcom/crashlytics/android/Crashlytics;->log(Ljava/lang/String;)V
-
- if-eqz p4, :cond_0
-
- const/4 p1, 0x1
-
- goto :goto_0
-
- :cond_0
- const/4 p1, 0x0
-
- .line 37
- :goto_0
- instance-of p2, p4, Lcom/librelink/app/core/AppError;
-
- if-eqz p2, :cond_1
-
- .line 39
- move-object p1, p4
-
- check-cast p1, Lcom/librelink/app/core/AppError;
-
- .line 40
- invoke-virtual {p1}, Lcom/librelink/app/core/AppError;->isUnexpected()Z
-
- move-result p2
-
- .line 41
- iget-object p3, p0, Lcom/librelink/app/core/FirebaseTree;->analytics:Lcom/librelink/app/types/Analytics;
-
- invoke-virtual {p1}, Lcom/librelink/app/core/AppError;->getReason()Lcom/librelink/app/core/AppError$Reason;
-
- move-result-object p1
-
- invoke-virtual {p1}, Lcom/librelink/app/core/AppError$Reason;->name()Ljava/lang/String;
-
- move-result-object p1
-
- invoke-interface {p3, p1}, Lcom/librelink/app/types/Analytics;->createEvent(Ljava/lang/String;)Lcom/librelink/app/types/Analytics$Event;
-
- move-result-object p1
-
- invoke-interface {p1}, Lcom/librelink/app/types/Analytics$Event;->log()V
-
- move p1, p2
-
- :cond_1
- if-eqz p1, :cond_2
-
- .line 46
- invoke-static {p4}, Lcom/crashlytics/android/Crashlytics;->logException(Ljava/lang/Throwable;)V
-
- :cond_2
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali b/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali
index bef3d8f0223813ff32382a56dcd9f2b3c8c00f13..0d4a0997f3e042fd4fcb3340498696c833c70875 100644
--- a/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali
+++ b/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali
@@ -33,10 +33,76 @@
# direct methods
.method public constructor <init>()V
- .locals 0
+ .registers 2
+ .prologue
.line 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
+ .line 5
+ const/high16 v0, 0x41200000 # 10.0f
+
+ iput v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->appDefaultServingSize:F
+
+ .line 6
+ const/4 v0, 0x0
+
+ iput v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->appMinimumAge:I
+
+ .line 7
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->appProductStandardNumber:Ljava/lang/String;
+
+ .line 8
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->appRegistrationNumber:Ljava/lang/String;
+
+ .line 9
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->newYuApiKey:Ljava/lang/String;
+
+ .line 10
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->newYuDomain:Ljava/lang/String;
+
+ .line 11
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->newYuGateway:Ljava/lang/String;
+
+ .line 12
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->newYuShareUrl:Ljava/lang/String;
+
+ .line 13
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->newYuUrl:Ljava/lang/String;
+
+ .line 14
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->oneStepAudience:Ljava/lang/String;
+
+ .line 15
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->oneStepBaseUrl:Ljava/lang/String;
+
+ .line 16
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->oneStepIssuer:Ljava/lang/String;
+
+ .line 17
+ const-string v0, ""
+
+ iput-object v0, p0, Lcom/librelink/app/types/ApplicationConfigurationValues;->oneStepSubject:Ljava/lang/String;
+
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/core/BleManager.smali b/smali_classes2/com/librelink/app/core/BleManager.smali
index a8908eca0b2e853ead43cbe5cc4f03306a4dbc5a..5a5402099b409a616d4e626f5f5c72dcd0250cb3 100644
--- a/smali_classes2/com/librelink/app/core/BleManager.smali
+++ b/smali_classes2/com/librelink/app/core/BleManager.smali
@@ -354,11 +354,55 @@
.end method
.method private DEVLOG(Ljava/lang/String;)V
- .locals 0
+ .registers 3
+ .param p1, "str" # Ljava/lang/String;
+
+ .prologue
+ .line 28
+ const-string v0, "PatchedBleManager"
+ invoke-static {v0, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
+
+ .line 29
return-void
.end method
+.method public getSAS()Lcom/librelink/app/types/SAS;
+ .registers 2
+
+ .prologue
+ .line 32
+ iget-object v0, p0, Lcom/librelink/app/core/BleManager;->mSAS:Ljavax/inject/Provider;
+
+ invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
+
+ move-result-object v0
+
+ check-cast v0, Lcom/librelink/app/types/SAS;
+
+ return-object v0
+.end method
+
+.method public getSensorAddress()Ljava/lang/String;
+ .registers 2
+
+ .prologue
+ .line 20
+ iget-object v0, p0, Lcom/librelink/app/core/BleManager;->mActiveDeviceAddress:Ljava/lang/String;
+
+ return-object v0
+.end method
+
+.method public getSensorSerial()Ljava/lang/String;
+ .registers 2
+
+ .prologue
+ .line 24
+ iget-object v0, p0, Lcom/librelink/app/core/BleManager;->mActiveDeviceSerialNumber:Ljava/lang/String;
+
+ return-object v0
+.end method
+
.method static synthetic access$000(Lcom/librelink/app/core/BleManager;Z)V
.locals 0
@@ -1303,6 +1347,8 @@
:goto_1
invoke-direct {p0}, Lcom/librelink/app/core/BleManager;->reportAvailabilityChange()V
+ invoke-static {p0}, Lcom/librelink/app/ThirdPartyIntegration;->sendInitializeBluetoothBroadcast(Lcom/librelink/app/core/BleManager;)V
+
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/core/App.smali b/smali_classes2/com/librelink/app/core/App.smali
index e4ae2a39fe093d9759e8a84850a8b9326eb75ef8..c74af68dffc9f599328b22eedbd51f0f6eb001b6 100644
--- a/smali_classes2/com/librelink/app/core/App.smali
+++ b/smali_classes2/com/librelink/app/core/App.smali
@@ -18,11 +18,6 @@
.end annotation
.end field
-.field firebaseTree:Lcom/librelink/app/core/FirebaseTree;
- .annotation runtime Ljavax/inject/Inject;
- .end annotation
-.end field
-
.field initialIntent:Ljavax/inject/Provider;
.annotation runtime Lcom/librelink/app/core/Qualifiers$InitialIntent;
.end annotation
@@ -65,6 +60,18 @@
return-void
.end method
+.method public getPackageCodePath()Ljava/lang/String;
+ .registers 2
+
+ .prologue
+ .line 13
+ invoke-static {p0}, Lcom/librelink/app/APKExtractor;->getOriginalAPKPath(Landroid/app/Application;)Ljava/lang/String;
+
+ move-result-object v0
+
+ return-object v0
+.end method
+
.method public static get(Landroid/content/Context;)Lcom/librelink/app/core/App;
.locals 0
@@ -90,9 +97,6 @@
.method private init()V
.locals 2
- .line 120
- invoke-static {p0}, Lcom/google/firebase/FirebaseApp;->initializeApp(Landroid/content/Context;)Lcom/google/firebase/FirebaseApp;
-
.line 122
invoke-static {p0}, Lcom/librelink/app/util/JobSchedulerUtils;->initialize(Lcom/librelink/app/core/App;)V
@@ -152,15 +156,6 @@
invoke-static {p0, v0}, Lcom/librelink/app/services/ReminderService;->enqueueWork(Landroid/content/Context;Landroid/content/Intent;)V
- .line 139
- invoke-static {}, Lcom/librelink/app/jobs/LicenseCheckJob;->scheduleJob()V
-
- .line 141
- invoke-static {}, Lcom/librelink/app/jobs/DataUploadJob;->scheduleJob()V
-
- .line 142
- invoke-static {}, Lcom/librelink/app/jobs/ActiveSensorUploadJob;->scheduleJob()V
-
.line 144
iget-object v0, p0, Lcom/librelink/app/core/App;->bleManager:Lcom/librelink/app/core/BleManager;
@@ -369,6 +364,14 @@
.line 83
invoke-super {p0}, Landroid/app/Application;->onCreate()V
+ invoke-static {}, Lcom/librelink/app/CrashReportUtil;->setDefaultUncaughtExceptionHandler()V
+
+ invoke-static {p0}, Lcom/librelink/app/ForegroundService;->initialize(Landroid/content/Context;)V
+
+ invoke-static {p0}, Lcom/librelink/app/ThirdPartyIntegration;->injectContext(Landroid/content/Context;)V
+
+ invoke-static {p0}, Lcom/librelink/app/APKExtractor;->extractOriginalAPK(Landroid/app/Application;)V
+
.line 85
invoke-static {}, Lcom/librelink/app/core/components/DaggerAppComponent;->builder()Lcom/librelink/app/core/components/DaggerAppComponent$Builder;
@@ -415,24 +418,6 @@
.line 100
invoke-direct {p0}, Lcom/librelink/app/core/App;->init()V
- .line 109
- iget-object v2, p0, Lcom/librelink/app/core/App;->firebaseTree:Lcom/librelink/app/core/FirebaseTree;
-
- invoke-static {v2}, Ltimber/log/Timber;->plant(Ltimber/log/Timber$Tree;)V
-
- const/4 v2, 0x1
-
- .line 110
- new-array v2, v2, [Lio/fabric/sdk/android/Kit;
-
- new-instance v3, Lcom/crashlytics/android/Crashlytics;
-
- invoke-direct {v3}, Lcom/crashlytics/android/Crashlytics;-><init>()V
-
- aput-object v3, v2, v1
-
- invoke-static {p0, v2}, Lio/fabric/sdk/android/Fabric;->with(Landroid/content/Context;[Lio/fabric/sdk/android/Kit;)Lio/fabric/sdk/android/Fabric;
-
.line 113
invoke-static {p0}, Lcom/librelink/app/core/StethoUtils;->initialize(Landroid/app/Application;)V
diff --git a/res/menu/default_menu.xml b/res/menu/default_menu.xml
index 342d38fb8c15cf7031c84dff88d885fc0b83c81c..2a0fb8f1dfe7bf3705294537fd9803151f9d53ce 100644
--- a/res/menu/default_menu.xml
+++ b/res/menu/default_menu.xml
@@ -2,8 +2,6 @@
<menu
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@id/action_settings" android:title="@string/settings" app:showAsAction="never" />
- <item android:id="@id/action_account_profile" android:title="@string/account" app:showAsAction="never" />
- <item android:id="@id/action_change_password" android:title="@string/changePassword" app:showAsAction="never" />
<item android:id="@id/action_help" android:title="@string/help" app:showAsAction="never" />
<item android:id="@id/action_about" android:title="@string/about" app:showAsAction="never" />
</menu>
\ No newline at end of file
diff --git a/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali b/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali
index a9f6279be936982f099f62bbd43c4f04f4d2b1a9..8dfe8c15ccc72058a552633656d7922df1f323dc 100644
--- a/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali
+++ b/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali
@@ -26,58 +26,6 @@
# virtual methods
.method public onPatchEvent(Ljava/lang/String;II)V
- .locals 2
-
- .line 19
- invoke-static {p3, p2}, Lcom/librelink/app/core/PatchEventLogcatWriter;->logEventToLogcat(II)V
-
- .line 21
- new-instance v0, Lcom/librelink/app/core/PatchEventException;
-
- invoke-direct {v0, p1, p2, p3}, Lcom/librelink/app/core/PatchEventException;-><init>(Ljava/lang/String;II)V
-
- invoke-static {v0}, Lcom/crashlytics/android/Crashlytics;->logException(Ljava/lang/Throwable;)V
-
- .line 25
- iget-object v0, p0, Lcom/librelink/app/core/PatchEventFirebaseUploader;->mAnalytics:Lcom/librelink/app/types/Analytics;
-
- if-eqz v0, :cond_0
-
- .line 27
- iget-object v0, p0, Lcom/librelink/app/core/PatchEventFirebaseUploader;->mAnalytics:Lcom/librelink/app/types/Analytics;
-
- const-string v1, "patch_error"
-
- invoke-interface {v0, v1}, Lcom/librelink/app/types/Analytics;->createEvent(Ljava/lang/String;)Lcom/librelink/app/types/Analytics$Event;
-
- move-result-object v0
-
- const-string v1, "serial_number"
-
- .line 28
- invoke-interface {v0, v1, p1}, Lcom/librelink/app/types/Analytics$Event;->putAttribute(Ljava/lang/String;Ljava/lang/String;)Lcom/librelink/app/types/Analytics$Event;
-
- const-string p1, "minutes_after_activation"
-
- .line 29
- invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
-
- move-result-object p2
-
- invoke-interface {v0, p1, p2}, Lcom/librelink/app/types/Analytics$Event;->putAttribute(Ljava/lang/String;Ljava/lang/Number;)Lcom/librelink/app/types/Analytics$Event;
-
- const-string p1, "error_code"
-
- .line 30
- invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
-
- move-result-object p2
-
- invoke-interface {v0, p1, p2}, Lcom/librelink/app/types/Analytics$Event;->putAttribute(Ljava/lang/String;Ljava/lang/Number;)Lcom/librelink/app/types/Analytics$Event;
-
- .line 31
- invoke-interface {v0}, Lcom/librelink/app/types/Analytics$Event;->log()V
-
- :cond_0
+ .locals 0
return-void
.end method
diff --git a/smali_classes2/com/librelink/app/core/App_MembersInjector.smali b/smali_classes2/com/librelink/app/core/App_MembersInjector.smali
index 89b6a8a9528beffc81cde230fd0b2d891ba1dad9..aa83ac01caf2722ccd884340ae36f3dd85dfc167 100644
--- a/smali_classes2/com/librelink/app/core/App_MembersInjector.smali
+++ b/smali_classes2/com/librelink/app/core/App_MembersInjector.smali
@@ -38,16 +38,6 @@
.end annotation
.end field
-.field private final firebaseTreeProvider:Ljavax/inject/Provider;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljavax/inject/Provider<",
- "Lcom/librelink/app/core/FirebaseTree;",
- ">;"
- }
- .end annotation
-.end field
-
.field private final initialIntentProvider:Ljavax/inject/Provider;
.annotation system Ldalvik/annotation/Signature;
value = {
@@ -131,9 +121,6 @@
.line 37
iput-object p3, p0, Lcom/librelink/app/core/App_MembersInjector;->initialIntentProvider:Ljavax/inject/Provider;
- .line 38
- iput-object p4, p0, Lcom/librelink/app/core/App_MembersInjector;->firebaseTreeProvider:Ljavax/inject/Provider;
-
.line 39
iput-object p5, p0, Lcom/librelink/app/core/App_MembersInjector;->bleManagerProvider:Ljavax/inject/Provider;
@@ -220,15 +207,6 @@
return-void
.end method
-.method public static injectFirebaseTree(Lcom/librelink/app/core/App;Lcom/librelink/app/core/FirebaseTree;)V
- .locals 0
-
- .line 87
- iput-object p1, p0, Lcom/librelink/app/core/App;->firebaseTree:Lcom/librelink/app/core/FirebaseTree;
-
- return-void
-.end method
-
.method public static injectInitialIntent(Lcom/librelink/app/core/App;Ljavax/inject/Provider;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
@@ -306,17 +284,6 @@
invoke-static {p1, v0}, Lcom/librelink/app/core/App_MembersInjector;->injectInitialIntent(Lcom/librelink/app/core/App;Ljavax/inject/Provider;)V
- .line 67
- iget-object v0, p0, Lcom/librelink/app/core/App_MembersInjector;->firebaseTreeProvider:Ljavax/inject/Provider;
-
- invoke-interface {v0}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object v0
-
- check-cast v0, Lcom/librelink/app/core/FirebaseTree;
-
- invoke-static {p1, v0}, Lcom/librelink/app/core/App_MembersInjector;->injectFirebaseTree(Lcom/librelink/app/core/App;Lcom/librelink/app/core/FirebaseTree;)V
-
.line 68
iget-object v0, p0, Lcom/librelink/app/core/App_MembersInjector;->bleManagerProvider:Ljavax/inject/Provider;
diff --git a/smali_classes2/com/librelink/app/core/BleManager$3.smali b/smali_classes2/com/librelink/app/core/BleManager$3.smali
index d0442aaba7c105d135a180218ddad74be593b3b5..134551358b0802710f6f613b5c11883009bea62a 100644
--- a/smali_classes2/com/librelink/app/core/BleManager$3.smali
+++ b/smali_classes2/com/librelink/app/core/BleManager$3.smali
@@ -183,6 +183,8 @@
.line 363
iget-object p2, p0, Lcom/librelink/app/core/BleManager$3;->this$0:Lcom/librelink/app/core/BleManager;
+ invoke-static {p2, p1}, Lcom/librelink/app/ThirdPartyIntegration;->sendCharacteristicValueBroadcast(Lcom/librelink/app/core/BleManager;[B)V
+
new-instance v3, Ljava/lang/StringBuilder;
invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
@@ -555,6 +557,8 @@
:goto_0
iget-object v1, p0, Lcom/librelink/app/core/BleManager$3;->this$0:Lcom/librelink/app/core/BleManager;
+ invoke-static {v1, p3}, Lcom/librelink/app/ThirdPartyIntegration;->sendConnectionStateBroadcast(Lcom/librelink/app/core/BleManager;I)V
+
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
@@ -635,6 +639,8 @@
:cond_0
iget-object p1, p0, Lcom/librelink/app/core/BleManager$3;->this$0:Lcom/librelink/app/core/BleManager;
+ invoke-static {p1, p3}, Lcom/librelink/app/ThirdPartyIntegration;->sendRSSIBroadcast(Lcom/librelink/app/core/BleManager;I)V
+
new-instance p3, Ljava/lang/StringBuilder;
invoke-direct {p3}, Ljava/lang/StringBuilder;-><init>()V
diff --git a/smali_classes2/com/librelink/app/core/modules/AppModule.smali b/smali_classes2/com/librelink/app/core/modules/AppModule.smali
index 1b47ef23bce59e1a94beeb9ba6b4d43356d48ea9..6bf261e6cd760ab3afc22d95b7938fdbec7fcc03 100644
--- a/smali_classes2/com/librelink/app/core/modules/AppModule.smali
+++ b/smali_classes2/com/librelink/app/core/modules/AppModule.smali
@@ -1821,13 +1821,6 @@
}
.end annotation
- .line 207
- new-instance v0, Lcom/librelink/app/core/modules/AppModule$1;
-
- invoke-direct {v0, p0, p2}, Lcom/librelink/app/core/modules/AppModule$1;-><init>(Lcom/librelink/app/core/modules/AppModule;Lio/reactivex/CompletableEmitter;)V
-
- invoke-virtual {p1, v0}, Lcom/google/android/vending/licensing/LicenseChecker;->checkAccess(Lcom/google/android/vending/licensing/LicenseCheckerCallback;)V
-
return-void
.end method
@@ -1876,17 +1869,10 @@
.annotation runtime Ljavax/inject/Singleton;
.end annotation
- .line 535
- iget-object v0, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- invoke-static {v0}, Lcom/google/firebase/analytics/FirebaseAnalytics;->getInstance(Landroid/content/Context;)Lcom/google/firebase/analytics/FirebaseAnalytics;
-
- move-result-object v0
-
.line 537
new-instance v1, Lcom/librelink/app/core/modules/AppModule$2;
- invoke-direct {v1, p0, v0}, Lcom/librelink/app/core/modules/AppModule$2;-><init>(Lcom/librelink/app/core/modules/AppModule;Lcom/google/firebase/analytics/FirebaseAnalytics;)V
+ invoke-direct {v1, p0}, Lcom/librelink/app/core/modules/AppModule$2;-><init>(Lcom/librelink/app/core/modules/AppModule;)V
return-object v1
.end method
@@ -1979,20 +1965,11 @@
.annotation runtime Ljavax/inject/Singleton;
.end annotation
- .line 839
- invoke-interface {p2}, Lcom/librelink/app/network/LabelingService;->getCachedConfigurationFile()Ljava/lang/String;
-
- move-result-object p2
-
- const-class v0, Lcom/librelink/app/types/ApplicationConfigurationValues;
-
- invoke-virtual {p1, p2, v0}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
-
- move-result-object p1
+ new-instance v0, Lcom/librelink/app/types/ApplicationConfigurationValues;
- check-cast p1, Lcom/librelink/app/types/ApplicationConfigurationValues;
+ invoke-direct {v0}, Lcom/librelink/app/types/ApplicationConfigurationValues;-><init>()V
- return-object p1
+ return-object v0
.end method
.method provideCountryCode()Ljava/lang/String;
@@ -2253,30 +2230,7 @@
}
.end annotation
- .line 324
- invoke-interface {p2}, Lcom/librelink/app/prefs/SharedPreference;->get()Ljava/lang/Object;
-
- move-result-object p2
-
- check-cast p2, Ljava/lang/Boolean;
-
- invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
-
- move-result p2
-
- if-eqz p2, :cond_0
-
- .line 326
- iget-object p1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- invoke-static {p1}, Lcom/librelink/app/ui/common/LicenseCheckActivity;->getDefaultIntent(Landroid/content/Context;)Landroid/content/Intent;
-
- move-result-object p1
-
- goto/16 :goto_0
-
.line 328
- :cond_0
iget-object p2, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
invoke-static {p2}, Lcom/librelink/app/ui/common/DataMigrationActivity;->shouldAttemptToMigrateData(Landroid/content/Context;)Z
@@ -2294,92 +2248,10 @@
goto/16 :goto_0
- .line 332
- :cond_1
- invoke-interface {p3}, Lcom/librelink/app/network/LabelingService;->isCachedConfigurationFilePresent()Z
-
- move-result p2
-
- if-nez p2, :cond_2
-
- .line 334
- iget-object p1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- invoke-static {p1}, Lcom/librelink/app/ui/common/AppConfigurationDownloadActivity;->getDefaultIntent(Landroid/content/Context;)Landroid/content/Intent;
-
- move-result-object p1
-
- goto :goto_0
-
.line 336
- :cond_2
- invoke-interface {p4}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object p2
-
- check-cast p2, Ljava/lang/Boolean;
-
- invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
-
- move-result p2
-
- if-eqz p2, :cond_3
-
- .line 338
- iget-object p1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- invoke-static {p1}, Lcom/librelink/app/ui/common/VersionCheckActivity;->getDefaultIntent(Landroid/content/Context;)Landroid/content/Intent;
-
- move-result-object p1
-
- goto :goto_0
-
- .line 340
- :cond_3
- invoke-interface {p1}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
-
- move-result-object p1
-
- check-cast p1, Lcom/librelink/app/network/NetworkService;
-
- invoke-interface {p1}, Lcom/librelink/app/network/NetworkService;->isLoggedIn()Z
-
- move-result p1
-
- if-nez p1, :cond_4
-
- .line 342
- iget-object p1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- invoke-static {p1}, Lcom/librelink/app/ui/apptour/AppTourActivity;->makeIntent(Landroid/content/Context;)Landroid/content/Intent;
-
- move-result-object p1
-
- goto :goto_0
-
- :cond_4
- if-eqz p6, :cond_5
-
- .line 346
- iget-object p1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;