Skip to content

Changed: Set android:process to ${TERMUX_PACKAGE_NAME} for app to run in com.termux process - #74

Open
twaik wants to merge 1 commit into
termux:masterfrom
twaik:termux-float-in-termux-process
Open

Changed: Set android:process to ${TERMUX_PACKAGE_NAME} for app to run in com.termux process#74
twaik wants to merge 1 commit into
termux:masterfrom
twaik:termux-float-in-termux-process

Conversation

@twaik

@twaik twaik commented Aug 16, 2026

Copy link
Copy Markdown
Member

Running in the main com.termux process instead of a separate one lets the app share its cpuset, so it can be placed in top-app instead of foreground while active, which may improve performance.

… run in `com.termux` process

Running in the main `com.termux` process instead of a separate one
lets the app share its cpuset, so it can be placed in `top-app`
instead of `foreground` while active, which may improve performance.
@twaik
twaik requested a review from agnostic-apollo August 16, 2026 10:59
@agnostic-apollo

Copy link
Copy Markdown
Member

While this may work for fixing priority, I dont know how this will affect the termux-float code in this repo and in termux-shared, like if Context.getApplicationContext().getPackageName() gets changed to com.termux, then com.termux.window checks and files won't be used, also not sure how stable this is across Android versions, and any other effects, it would require testing. Also better to fix the priority issue in termux-app itself with the overlay instead of requiring users to install a plugin, regardless of this fix is temporary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants