mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
Changed: Moved the am socket to PREFIX/var/run/am-socket
This commit is contained in:
committed by
agnostic-apollo
parent
3dee2eb486
commit
2851175d8b
@@ -12,8 +12,6 @@ import com.termux.shared.termux.settings.preferences.TermuxAppSharedPreferences;
|
|||||||
import com.termux.shared.termux.settings.properties.TermuxAppSharedProperties;
|
import com.termux.shared.termux.settings.properties.TermuxAppSharedProperties;
|
||||||
import com.termux.shared.termux.theme.TermuxThemeUtils;
|
import com.termux.shared.termux.theme.TermuxThemeUtils;
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
|
|
||||||
public class TermuxApplication extends Application {
|
public class TermuxApplication extends Application {
|
||||||
|
|
||||||
public void onCreate() {
|
public void onCreate() {
|
||||||
@@ -42,7 +40,7 @@ public class TermuxApplication extends Application {
|
|||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}, new File(getFilesDir(), "am-socket").getAbsolutePath(), 100, 1000) == null) {
|
}, TermuxConstants.TERMUX_VAR_PREFIX_DIR_PATH+"/run/am-socket", 100, 1000) == null) {
|
||||||
Logger.logWarn("TermuxApplication", "am socket cannot be created");
|
Logger.logWarn("TermuxApplication", "am socket cannot be created");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user