You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Holy tapdancing god, it works now!
This commit is contained in:
@@ -506,7 +506,7 @@ public class Utils {
|
||||
deleteFileAfter = false;
|
||||
}
|
||||
|
||||
public FlashZIP(Context context, Uri uRi, int flags) {
|
||||
public FlashZIP(Context context, Uri uRi) {
|
||||
mContext = context;
|
||||
mUri = uRi;
|
||||
deleteFileAfter = true;
|
||||
@@ -527,7 +527,7 @@ public class Utils {
|
||||
this.cancel(true);
|
||||
}
|
||||
ContentResolver contentResolver = mContext.getContentResolver();
|
||||
contentResolver.takePersistableUriPermission(mUri, flags);
|
||||
//contentResolver.takePersistableUriPermission(mUri, flags);
|
||||
try {
|
||||
InputStream in = contentResolver.openInputStream(mUri);
|
||||
Log.d("Magisk", "Firing inputStream");
|
||||
|
||||
Reference in New Issue
Block a user