Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- All hardcoded `com.termux` constants have been removed and will be handled by `TermuxConstants` and `TermuxPreferenceConstants`. - Fixed issue with losing reference to `TermuxFloatView` in `TermuxFloatService` and destroying view not working. - Removed unnecessary toasts and fixed custom broken ones by using the one provided by `Logger` class. - Updated `TerminalView` and `TerminalSession` to latest versions and removed duplicated `TerminalSession` code based on old `TermuxService` and start using `TermuxSession` which will also have consistent shell environment as `termux-app`. - Removed `SharedPrefernces` management and use the one in `termux-shared` provided by `TermuxFloatAppSharedPreferences`. - Use action constants defined in `TermuxConstants` for `TermuxFloatService`. - Use notification constants defined in `TermuxConstants` for `TermuxFloatService`. - Use `KeyboardUtils` for showing and hiding keyboard. - Implement logging system based on `Logger` class. Log levels can be changed in `termux-app` settings but require restarting `termux-float` for changes to take effect since both apps run in different processes. - Fixed potential `IllegalArgumentException` when adding and removing `TermuxFloatView` to `WindowManager`. - Added crash handler so that crash notifications can be shown in `termux-app` at startup.
- Loading branch information