Skip to content

[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

Description

@ahchchxx

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions