Skip to content

fix: regression detecting Android process PID with app ID suffix#509

Merged
lucasfernog merged 1 commit into
devfrom
fix/pidof-regression
Apr 29, 2026
Merged

fix: regression detecting Android process PID with app ID suffix#509
lucasfernog merged 1 commit into
devfrom
fix/pidof-regression

Conversation

@lucasfernog
Copy link
Copy Markdown
Member

regression from #505

Fix Android run_with_application_id_suffix so the suffixed application id is used consistently for both launching the activity and resolving the running process for logcat.

This prevents debug/release side-by-side installs from attaching logcat to the wrong package, and avoids waiting on the base package when only the suffixed variant is running.

regression from #505

## Summary

Fix Android `run_with_application_id_suffix` so the suffixed application id is used consistently for both launching the activity and resolving the running process for logcat.

This prevents debug/release side-by-side installs from attaching logcat to the wrong package, and avoids waiting on the base package when only the suffixed variant is running.

## Test plan

- `cargo test android::device::test::test_resolve_activity_name`
- `cargo fmt --check`
@github-actions
Copy link
Copy Markdown
Contributor

Package Changes Through 7f5f1e8

There are 1 changes which include cargo-mobile2 with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
cargo-mobile2 0.22.3 0.22.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit 74138d4 into dev Apr 29, 2026
19 checks passed
@lucasfernog lucasfernog deleted the fix/pidof-regression branch April 29, 2026 12:12
@github-actions github-actions Bot mentioned this pull request Apr 29, 2026
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.

1 participant