ElderDrivers / EdXposedManager

Companion Android application for EdXposed
https://edxp.meowcat.org/
GNU General Public License v3.0
1.77k stars 247 forks source link

Enhancement mode not working / no effect #165

Closed ghost closed 3 years ago

ghost commented 3 years ago

Enhancement mode not working on 45759 ,but when I downgrade to 45758 ,it's not return to normal. although it Display "activated" but no efect

Verbose Logs 45758 Here Verbose Logs 45759 Here

ghost commented 3 years ago
private static String getConfDir(int user) {
    String ConfDir=null;
    if (new File(String.format("/data/user_de/%s/%s/conf/enabled_modules.list", user, APPLICATION_ID)).exists()) {
        ConfDir = String.format("/data/user_de/%s/%s/conf/", user, APPLICATION_ID);
    } else {
        File[] files=new File("/data/misc/").listFiles();
        for (File file : files){
            if(file.getName().startsWith("edxp_")) {
                ConfDir = "/data/misc/" + file.getName() +"/"+ user +"/conf/";
            }
        }
    }
    return ConfDir;
}