mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-05 18:25:31 +08:00
Changed: Set socket dir to /data/data/com.termux/files/api/
Using the TermuxConstants.TERMUX_FILES_DIR variable to get full path TermuxConstants.TERMUX_FILES_DIR_PATH/api/am-socket.
This commit is contained in:
committed by
agnostic-apollo
parent
b025872029
commit
007f9cd7f1
@@ -40,7 +40,7 @@ public class TermuxApplication extends Application {
|
||||
} catch (Exception e) {
|
||||
return 1;
|
||||
}
|
||||
}, TermuxConstants.TERMUX_VAR_PREFIX_DIR_PATH+"/run/am-socket", 100, 1000) == null) {
|
||||
}, TermuxConstants.TERMUX_FILES_DIR_PATH+"/api/am-socket", 100, 1000) == null) {
|
||||
Logger.logWarn("TermuxApplication", "am socket cannot be created");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user