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

[bug]screencap cammand got black image in folded phone's small screen like "Oppo find N". Add a parameter to make it compatible. #531

Open
ahchchxx opened this issue Sep 11, 2023 · 0 comments

Comments

@ahchchxx
Copy link

ParcelFileDescriptor pfd = automation.executeShellCommand("screencap -p");

When using folded phone, I can get screenshot image at the bigger monitor. But I can only get back image at the small screen(the bigger one is folded).
Add a parameter " -d 0" to the following command:

screencap -d 0 -p

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

No branches or pull requests

1 participant