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

Fix crashes when stat failed and had to retry with ls #2894

Merged
merged 1 commit into from
Oct 13, 2021

Conversation

TranceLove
Copy link
Collaborator

@TranceLove TranceLove commented Oct 11, 2021

By forcing flag when executeRootCommand() executes with retryWithLs is true.

Issue tracker

Fixes #2899

Automatic tests

  • Added test cases

Manual tests

  • Done

Device: Pixel 2 emulator
OS: Android 11 emulator rooted with rootAVD and magisk
Manually trigger ShellCommandInvalidException by forcing stat command to fail in source, then try run it with or without legacy file listing enabled.

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@TranceLove TranceLove added Issue-Bug Related unexpected behavior or something worth investigating. Area-Navigation Related to navigation labels Oct 11, 2021
@VishalNehra
Copy link
Member

Build test apk

EmmanuelMess
EmmanuelMess previously approved these changes Oct 12, 2021
@VishalNehra VishalNehra changed the base branch from hotfix/3.6.4 to hotfix/3.6.5 October 13, 2021 22:26
@VishalNehra VishalNehra dismissed EmmanuelMess’s stale review October 13, 2021 22:26

The base branch was changed.

@VishalNehra VishalNehra merged commit 07cd2f4 into hotfix/3.6.5 Oct 13, 2021
@TranceLove TranceLove deleted the bugfix/2865 branch April 14, 2022 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Navigation Related to navigation Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants