5050import java .util .zip .ZipFile ;
5151import java .util .zip .ZipInputStream ;
5252
53- import io .sentry .Breadcrumb ;
54- import io .sentry .Sentry ;
55- import io .sentry .SentryLevel ;
56-
5753public class InstallerActivity extends FoxActivity {
5854 private static final String TAG = "InstallerActivity" ;
5955 public LinearProgressIndicator progressIndicator ;
@@ -108,7 +104,7 @@ protected void onCreate(Bundle savedInstanceState) {
108104 }
109105 Log .i (TAG , "Install link: " + target );
110106 // Note: Sentry only send this info on crash.
111- if (MainApplication .isCrashReportingEnabled ()) {
107+ /* if (MainApplication.isCrashReportingEnabled()) {
112108 Breadcrumb breadcrumb = new Breadcrumb();
113109 breadcrumb.setType("install");
114110 breadcrumb.setData("target", target);
@@ -117,7 +113,7 @@ protected void onCreate(Bundle savedInstanceState) {
117113 breadcrumb.setCategory("app.action.preinstall");
118114 breadcrumb.setLevel(SentryLevel.INFO);
119115 Sentry.addBreadcrumb(breadcrumb);
120- }
116+ }*/
121117 boolean urlMode = target .startsWith ("http://" ) || target .startsWith ("https://" );
122118 getWindow ().addFlags (WindowManager .LayoutParams .FLAG_KEEP_SCREEN_ON );
123119 setTitle (name );
@@ -455,7 +451,7 @@ private void doInstall(File file, boolean noExtensions, boolean rootless) {
455451 installCommand ).to (installerController , installerMonitor );
456452 }
457453 // Note: Sentry only send this info on crash.
458- if (MainApplication .isCrashReportingEnabled ()) {
454+ /* if (MainApplication.isCrashReportingEnabled()) {
459455 Breadcrumb breadcrumb = new Breadcrumb();
460456 breadcrumb.setType("install");
461457 breadcrumb.setData("moduleId", moduleId == null ? "<null>" : moduleId);
@@ -468,7 +464,7 @@ private void doInstall(File file, boolean noExtensions, boolean rootless) {
468464 breadcrumb.setCategory("app.action.install");
469465 breadcrumb.setLevel(SentryLevel.INFO);
470466 Sentry.addBreadcrumb(breadcrumb);
471- }
467+ }*/
472468 if (mmtReborn && magiskCmdLine ) {
473469 Log .w (TAG , "mmtReborn and magiskCmdLine may not work well together" );
474470 }
0 commit comments