Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use activateApp from adb #964

Merged
merged 4 commits into from
Nov 9, 2024
Merged

chore: use activateApp from adb #964

merged 4 commits into from
Nov 9, 2024

Conversation

KazuCocoa
Copy link
Member

It looks like... the same activateApp exists in https://github.com/appium/appium-adb/blob/74fb4f0a15f8e1c1db610aa633acf856877de209/lib/tools/apk-utils.js#L1180 so we can call the adb's one instead.

@KazuCocoa KazuCocoa marked this pull request as ready for review November 9, 2024 08:23
}

let activityName = await this.adb.resolveLaunchableActivity(appId);
if (activityName === RESOLVER_ACTIVITY_NAME) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also remove the unused constant

@KazuCocoa KazuCocoa merged commit 0fc63f5 into master Nov 9, 2024
10 checks passed
@KazuCocoa KazuCocoa deleted the use-adb-activate-app branch November 9, 2024 09:20
github-actions bot pushed a commit that referenced this pull request Nov 9, 2024
## [9.12.2](v9.12.1...v9.12.2) (2024-11-09)

### Miscellaneous Chores

* use activateApp from adb ([#964](#964)) ([0fc63f5](0fc63f5))
Copy link

github-actions bot commented Nov 9, 2024

🎉 This PR is included in version 9.12.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants