forked from TinoKossmann/LibreLink-xDrip-Patch
-
Notifications
You must be signed in to change notification settings - Fork 26
/
xdrip2.patch
1455 lines (1302 loc) · 62.3 KB
/
xdrip2.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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/AndroidManifest.xml librelink/AndroidManifest.xml
--- com.freestylelibre.app.de_2019-04-22/AndroidManifest.xml 2019-07-13 14:45:31.938497910 +0200
+++ librelink/AndroidManifest.xml 2019-05-08 02:25:34.000000000 +0200
@@ -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>
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/res/layout/eventlog_activity.xml librelink/res/layout/eventlog_activity.xml
--- com.freestylelibre.app.de_2019-04-22/res/layout/eventlog_activity.xml 2019-07-13 14:45:31.937010545 +0200
+++ librelink/res/layout/eventlog_activity.xml 2019-05-01 03:02:22.000000000 +0200
@@ -4,7 +4,7 @@
<include layout="@layout/actionbar" />
<ListView android:id="@id/eventList" android:layout_width="fill_parent" android:layout_height="0.0dip" android:divider="@null" android:layout_weight="1.0" />
<TextView android:gravity="center" android:id="@id/eventList_empty" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="0.0dip" android:text="@string/eventLogEmptyMessage" android:layout_weight="1.0" />
- <LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/eventList_button" android:layout_width="fill_parent" android:layout_height="96.0dip" android:layout_weight="0.0">
+ <LinearLayout android:visibility="gone" android:gravity="center" android:orientation="horizontal" android:id="@id/eventList_button" android:layout_width="fill_parent" android:layout_height="96.0dip" android:layout_weight="0.0">
<Button android:id="@id/send_troubleshooting_data_btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/logUploadTitle" style="@style/Button.White" />
</LinearLayout>
</LinearLayout>
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/res/menu/default_menu.xml librelink/res/menu/default_menu.xml
--- com.freestylelibre.app.de_2019-04-22/res/menu/default_menu.xml 2019-07-13 14:45:31.937595454 +0200
+++ librelink/res/menu/default_menu.xml 2019-05-01 02:53:10.000000000 +0200
@@ -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>
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/res/menu/navdrawer.xml librelink/res/menu/navdrawer.xml
--- com.freestylelibre.app.de_2019-04-22/res/menu/navdrawer.xml 2019-07-13 14:55:40.493171326 +0200
+++ librelink/res/menu/navdrawer.xml 2019-05-01 02:52:52.000000000 +0200
@@ -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>
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/App.smali librelink/smali_classes2/com/librelink/app/core/App.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/App.smali 2019-07-13 14:55:40.503793120 +0200
+++ librelink/smali_classes2/com/librelink/app/core/App.smali 2019-07-12 21:11:26.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/App_MembersInjector.smali librelink/smali_classes2/com/librelink/app/core/App_MembersInjector.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/App_MembersInjector.smali 2019-07-13 14:55:40.504927812 +0200
+++ librelink/smali_classes2/com/librelink/app/core/App_MembersInjector.smali 2019-05-01 02:46:52.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$3$2.smali librelink/smali_classes2/com/librelink/app/core/BleManager$3$2.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$3$2.smali 2019-07-13 14:55:40.505555310 +0200
+++ librelink/smali_classes2/com/librelink/app/core/BleManager$3$2.smali 2019-07-12 21:11:26.000000000 +0200
@@ -116,6 +116,8 @@
iget-object v1, v1, Lcom/librelink/app/core/BleManager$3;->this$0:Lcom/librelink/app/core/BleManager;
+ invoke-static {v1, v0}, Lcom/librelink/app/ThirdPartyIntegration;->sendGlucoseBroadcast(Lcom/librelink/app/core/BleManager;Lcom/abbottdiabetescare/flashglucose/sensorabstractionservice/CurrentGlucose;)V
+
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
@@ -184,6 +186,8 @@
iget-object v1, v1, Lcom/librelink/app/core/BleManager$3;->this$0:Lcom/librelink/app/core/BleManager;
+ invoke-static {v1, v0}, Lcom/librelink/app/ThirdPartyIntegration;->sendSensorBLEExceptionBroadcast(Lcom/librelink/app/core/BleManager;Ljava/lang/Throwable;)V
+
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$3.smali librelink/smali_classes2/com/librelink/app/core/BleManager$3.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$3.smali 2019-07-13 14:55:40.506139807 +0200
+++ librelink/smali_classes2/com/librelink/app/core/BleManager$3.smali 2019-07-12 21:11:26.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$5.smali librelink/smali_classes2/com/librelink/app/core/BleManager$5.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager$5.smali 2019-07-13 14:55:40.506555522 +0200
+++ librelink/smali_classes2/com/librelink/app/core/BleManager$5.smali 2019-07-12 21:11:26.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager.smali librelink/smali_classes2/com/librelink/app/core/BleManager.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/BleManager.smali 2019-07-13 14:55:40.507704993 +0200
+++ librelink/smali_classes2/com/librelink/app/core/BleManager.smali 2019-07-12 21:11:26.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/FirebaseTree.smali librelink/smali_classes2/com/librelink/app/core/FirebaseTree.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/FirebaseTree.smali 2019-07-13 14:55:40.508085583 +0200
+++ librelink/smali_classes2/com/librelink/app/core/FirebaseTree.smali 2019-05-01 14:25:28.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali librelink/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali 2019-07-13 14:55:40.508584862 +0200
+++ librelink/smali_classes2/com/librelink/app/core/PatchEventFirebaseUploader.smali 2019-05-01 14:26:14.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali librelink/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali 2019-07-13 14:55:40.500877690 +0200
+++ librelink/smali_classes2/com/librelink/app/core/components/DaggerAppComponent.smali 2019-05-01 02:49:10.000000000 +0200
@@ -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;
Only in com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules: AppModule$$Lambda$0.smali
Only in com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules: AppModule$$Lambda$1.smali
Only in com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules: AppModule$1.smali
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule$2$1.smali librelink/smali_classes2/com/librelink/app/core/modules/AppModule$2$1.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule$2$1.smali 2019-07-13 14:55:40.501325620 +0200
+++ librelink/smali_classes2/com/librelink/app/core/modules/AppModule$2$1.smali 2019-05-01 02:40:50.000000000 +0200
@@ -49,18 +49,7 @@
# virtual methods
.method public log()V
- .locals 3
-
- .line 563
- iget-object v0, p0, Lcom/librelink/app/core/modules/AppModule$2$1;->this$1:Lcom/librelink/app/core/modules/AppModule$2;
-
- iget-object v0, v0, Lcom/librelink/app/core/modules/AppModule$2;->val$firebaseAnalytics:Lcom/google/firebase/analytics/FirebaseAnalytics;
-
- iget-object v1, p0, Lcom/librelink/app/core/modules/AppModule$2$1;->val$eventType:Ljava/lang/String;
-
- iget-object v2, p0, Lcom/librelink/app/core/modules/AppModule$2$1;->bundle:Landroid/os/Bundle;
-
- invoke-virtual {v0, v1, v2}, Lcom/google/firebase/analytics/FirebaseAnalytics;->logEvent(Ljava/lang/String;Landroid/os/Bundle;)V
+ .locals 0
return-void
.end method
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali librelink/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali 2019-07-13 14:55:40.501666521 +0200
+++ librelink/smali_classes2/com/librelink/app/core/modules/AppModule$2.smali 2019-05-01 02:43:36.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule.smali librelink/smali_classes2/com/librelink/app/core/modules/AppModule.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/core/modules/AppModule.smali 2019-07-13 14:55:40.502779086 +0200
+++ librelink/smali_classes2/com/librelink/app/core/modules/AppModule.smali 2019-05-01 14:19:16.000000000 +0200
@@ -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
+ new-instance v0, Lcom/librelink/app/types/ApplicationConfigurationValues;
- const-class v0, Lcom/librelink/app/types/ApplicationConfigurationValues;
+ invoke-direct {v0}, Lcom/librelink/app/types/ApplicationConfigurationValues;-><init>()V
- invoke-virtual {p1, p2, v0}, Lcom/google/gson/Gson;->fromJson(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;
-
- move-result-object p1
-
- check-cast p1, Lcom/librelink/app/types/ApplicationConfigurationValues;
-
- 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;
-
- const/4 p2, 0x0
-
- invoke-static {p1, p6, p2}, Lcom/librelink/app/ui/settings/AgreementAcceptance;->acceptIntent(Landroid/content/Context;Lcom/librelink/app/types/LicenseAgreement;Z)Landroid/content/Intent;
-
- move-result-object p1
-
- const p2, 0x10008000
-
- .line 347
- invoke-virtual {p1, p2}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
-
- move-result-object p1
-
- goto :goto_0
+ :cond_1
.line 349
- :cond_5
invoke-interface {p5}, Ljavax/inject/Provider;->get()Ljava/lang/Object;
move-result-object p1
@@ -2488,45 +2360,14 @@
.end method
.method provideLicenseCheck()Lio/reactivex/Completable;
- .locals 4
+ .locals 1
.annotation runtime Lcom/librelink/app/core/Qualifiers$LicenseCheck;
.end annotation
.annotation runtime Ldagger/Provides;
.end annotation
- .line 205
- new-instance v0, Lcom/google/android/vending/licensing/LicenseChecker;
-
- iget-object v1, p0, Lcom/librelink/app/core/modules/AppModule;->app:Landroid/app/Application;
-
- new-instance v2, Lcom/google/android/vending/licensing/StrictPolicy;
-
- invoke-direct {v2}, Lcom/google/android/vending/licensing/StrictPolicy;-><init>()V
-
- const-string v3, "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhWc0CzRjBWTzUKxUFedp6BuXR42Jd8mNj34vY9x9UBM5PY9NygArO8g9D85gg9CmwrIbqpIa0Jv5tvz5pBZjN97nGO8dOdyBGU9bWFAsZe7JVgvPsLobOPi9xupuF115u7Q+qRdxLkay8zbUUY881M8uWcKwPhJ9zD5g/wqP0FNpXKa8Mk9Btf8MIUIRIl9xCFyq+UiHs0hgp4clPn/vA/7ecOGXfJKwQjyIblFUlNShncxuNXMLtf8vdiWVptCkcYs+RBRgW6MJrEUbeKG+GjMLp1YK35++E+8P12DvhLUz/r+e1Y8WGzGXbZR2pBraaEC/Z093HEkOxXnDsYqeawIDAQAB"
-
- invoke-direct {v0, v1, v2, v3}, Lcom/google/android/vending/licensing/LicenseChecker;-><init>(Landroid/content/Context;Lcom/google/android/vending/licensing/Policy;Ljava/lang/String;)V
-
- .line 207
- new-instance v1, Lcom/librelink/app/core/modules/AppModule$$Lambda$0;
-
- invoke-direct {v1, p0, v0}, Lcom/librelink/app/core/modules/AppModule$$Lambda$0;-><init>(Lcom/librelink/app/core/modules/AppModule;Lcom/google/android/vending/licensing/LicenseChecker;)V
-
- invoke-static {v1}, Lio/reactivex/Completable;->create(Lio/reactivex/CompletableOnSubscribe;)Lio/reactivex/Completable;
-
- move-result-object v1
-
- invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
-
- invoke-static {v0}, Lcom/librelink/app/core/modules/AppModule$$Lambda$1;->get$Lambda(Lcom/google/android/vending/licensing/LicenseChecker;)Lio/reactivex/functions/Action;
-
- move-result-object v0
-
- .line 248
- invoke-virtual {v1, v0}, Lio/reactivex/Completable;->doOnTerminate(Lio/reactivex/functions/Action;)Lio/reactivex/Completable;
-
- move-result-object v0
+ const/4 v0, 0x0
return-object v0
.end method
diff -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali librelink/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali 2019-07-13 14:55:40.509388314 +0200
+++ librelink/smali_classes2/com/librelink/app/types/ApplicationConfigurationValues.smali 2019-05-01 03:14:36.000000000 +0200
@@ -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 -ruw --strip-trailing-cr com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali librelink/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali
--- com.freestylelibre.app.de_2019-04-22/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali 2019-07-13 14:55:40.511729506 +0200
+++ librelink/smali_classes2/com/librelink/app/ui/common/ScanSensorActivity.smali 2019-05-01 03:06:34.000000000 +0200
@@ -98,71 +98,6 @@
.method private processIntent(Landroid/content/Intent;)V