File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
app/src/main/java/com/beemdevelopment/aegis Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 29
29
import com .beemdevelopment .aegis .vault .VaultManagerException ;
30
30
import com .mikepenz .iconics .Iconics ;
31
31
import com .mikepenz .material_design_iconic_typeface_library .MaterialDesignIconic ;
32
+ import com .topjohnwu .superuser .Shell ;
32
33
33
34
import java .util .ArrayList ;
34
35
import java .util .Collections ;
@@ -43,6 +44,11 @@ public class AegisApplication extends Application {
43
44
private static final String CODE_LOCK_STATUS_ID = "lock_status_channel" ;
44
45
private static final String CODE_LOCK_VAULT_ACTION = "lock_vault" ;
45
46
47
+ static {
48
+ // to access other app's internal storage directory, run libsu commands inside the global mount namespace
49
+ Shell .Config .setFlags (Shell .FLAG_MOUNT_MASTER );
50
+ }
51
+
46
52
@ Override
47
53
public void onCreate () {
48
54
super .onCreate ();
You can’t perform that action at this time.
0 commit comments