Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: revert --pct-syskeys 0 #745

Merged
merged 3 commits into from
May 19, 2022
Merged

fix: revert --pct-syskeys 0 #745

merged 3 commits into from
May 19, 2022

Conversation

KazuCocoa
Copy link
Member

Revert the argument, --pct-syskeys 0.

activateApp does not use am start method for API level 24 with current implementation, so this revert also should not affect widely.

Btw, I remember we use start-activity instead of start for Android 8+, so this PR includes it.

@KazuCocoa KazuCocoa requested a review from mykola-mokhnach May 18, 2022 16:25
if (apiLevel < 24) {
// The monkey command could raise an issue as https://stackoverflow.com/questions/44860475/how-to-use-the-monkey-command-with-an-android-system-that-doesnt-have-physical
// but '--pct-syskeys 0' could cause another background process issue. https://github.com/appium/appium/issues/16941#issuecomment-1129837285
// We should not add it to avoid it.
Copy link
Contributor

Choose a reason for hiding this comment

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

this last sentence is redundant

@KazuCocoa KazuCocoa merged commit 138ebf4 into master May 19, 2022
@KazuCocoa KazuCocoa deleted the KazuCocoa-patch-1 branch May 19, 2022 00:36
github-actions bot pushed a commit that referenced this pull request May 19, 2022
## [5.0.14](v5.0.13...v5.0.14) (2022-05-19)

### Bug Fixes

* revert --pct-syskeys 0 ([#745](#745)) ([138ebf4](138ebf4))
@github-actions
Copy link

🎉 This PR is included in version 5.0.14 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants