@@ -122,16 +122,11 @@ public static void openMarkdown(Context context, String url, String title, Strin
122122
123123 public static void openInstaller (Context context , String url , String title ,
124124 String config , String checksum ) {
125- openInstaller (context , url , title , config , checksum , false , false );
125+ openInstaller (context , url , title , config , checksum , false );
126126 }
127127
128128 public static void openInstaller (Context context , String url , String title , String config ,
129- String checksum , boolean noPatch ) {
130- openInstaller (context , url , title , config , checksum , noPatch , false );
131- }
132-
133- public static void openInstaller (Context context , String url , String title , String config ,
134- String checksum , boolean noPatch ,boolean testDebug ) {
129+ String checksum ,boolean testDebug ) {
135130 try {
136131 Intent intent = new Intent (context , InstallerActivity .class );
137132 intent .setAction (Constants .INTENT_INSTALL_INTERNAL );
@@ -142,8 +137,6 @@ public static void openInstaller(Context context, String url, String title, Stri
142137 intent .putExtra (Constants .EXTRA_INSTALL_CONFIG , config );
143138 if (checksum != null && !checksum .isEmpty ())
144139 intent .putExtra (Constants .EXTRA_INSTALL_CHECKSUM , checksum );
145- if (noPatch )
146- intent .putExtra (Constants .EXTRA_INSTALL_NO_PATCH , true );
147140 if (testDebug && BuildConfig .DEBUG )
148141 intent .putExtra (Constants .EXTRA_INSTALL_TEST_ROOTLESS , true );
149142 startActivity (context , intent , true );
@@ -234,7 +227,7 @@ public static void openFileTo(CompatActivity compatActivity, File destination,
234227 callback .onReceived (destination , null , RESPONSE_ERROR );
235228 return ;
236229 }
237- Log .d ("IntentHelper" , "FilePicker returned " + uri . toString () );
230+ Log .d ("IntentHelper" , "FilePicker returned " + uri );
238231 if ("http" .equals (uri .getScheme ()) ||
239232 "https" .equals (uri .getScheme ())) {
240233 callback .onReceived (destination , uri , RESPONSE_URL );
0 commit comments