Change su path

This commit is contained in:
topjohnwu 2016-09-16 04:42:51 +08:00
parent 339ca7accf
commit e475893fd7

View File

@ -153,7 +153,7 @@ public class RootFragment extends Fragment {
break; break;
case 1: case 1:
// Proper root // Proper root
if (new File("/system/xbin/su").exists()) { if (new File("/magisk/.core/bin/su").exists()) {
// Mounted // Mounted
rootStatusContainer.setBackgroundColor(accent); rootStatusContainer.setBackgroundColor(accent);
rootStatusIcon.setImageResource(statusError); rootStatusIcon.setImageResource(statusError);