More cleanup, add native filepicker

Code cleanup, add filepicker lib to avoid issues with stock file apps.
This commit is contained in:
d8ahazard
2016-09-09 23:40:57 -05:00
parent c2a188f7fe
commit 041531e96d
11 changed files with 132 additions and 81 deletions
@@ -7,8 +7,6 @@ import android.util.Log;
import com.topjohnwu.magisk.utils.Utils;
import java.util.Map;
public class Module {
private String mRemoveFile;
@@ -203,6 +201,6 @@ public class Module {
public boolean isOnline() {return mIsOnline; }
public boolean isUpdateAvailable() { return mUpdateAvailable; };
public boolean isUpdateAvailable() { return mUpdateAvailable; }
}
@@ -102,7 +102,7 @@ public class Repo {
SharedPreferences.Editor editor = prefs.edit();
editor.putString("repo_" + mId, manifestString);
editor.putBoolean("hasCachedRepos", true);
editor.putString("updated_" + mId, this.lastUpdate.toString());
editor.putString("updated_" + mId, this.lastUpdate);
Log.d("Magisk", "Storing Preferences: " + manifestString);
editor.apply();
}