Update libsu

Close #1314
This commit is contained in:
topjohnwu
2019-04-08 21:05:11 -04:00
parent b72004e9cc
commit 7219947237
3 changed files with 7 additions and 7 deletions

View File

@@ -119,7 +119,7 @@ public class Config {
public static void initialize() {
SharedPreferences pref = App.self.prefs;
SharedPreferences.Editor editor = pref.edit();
SuFile config = new SuFile("/data/adb/" + Const.MANAGER_CONFIGS);
File config = SuFile.open("/data/adb", Const.MANAGER_CONFIGS);
if (config.exists()) {
try {
SuFileInputStream is = new SuFileInputStream(config);