Skip to content

[bug] pm clear --cache-only not working #192

@AlexeiCrystal

Description

@AlexeiCrystal

The pm clear --cache-only command does not work. On my device it clears all application data, not just the cache. This is most likely due to the fact that the pm clear command with the --cache-only attribute does not exist.

Upd: I have searched the internet and this command doesn't work for many people, but there are some that do, maybe this command has appeared on newer sdk. Maybe we should add to the commands their mini SDK versions for execution.

Device: Redmi note 9 Pro
Android: 12
SDK: 31
MIUI: 14
REGION: GLOBAL

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions