-
-
Notifications
You must be signed in to change notification settings - Fork 33
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] pm clear --cache-only not working #192
Comments
Thanks for reporting. I will look into it .
…On Sun, Mar 2, 2025, 7:25 PM AlexeiCrystal ***@***.***> wrote:
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.
Device: Redmi note 9 Pro
Android: 12
SDK: 31
MIUI: 14
REGION: GLOBAL
—
Reply to this email directly, view it on GitHub
<#192>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFRPG5D32HLFMJ5XBCIOUED2SMEUDAVCNFSM6AAAAABYFI747SVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DSNJWGU3DCNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
[image: AlexeiCrystal]*AlexeiCrystal* created an issue
(DP-Hridayan/aShellYou#192)
<#192>
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.
Device: Redmi note 9 Pro
Android: 12
SDK: 31
MIUI: 14
REGION: GLOBAL
—
Reply to this email directly, view it on GitHub
<#192>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFRPG5D32HLFMJ5XBCIOUED2SMEUDAVCNFSM6AAAAABYFI747SVHI2DSMVQWIX3LMV43ASLTON2WKOZSHA4DSNJWGU3DCNI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I have looked into it and the command is only clearing the cache NOT THE DATA. I have tried with several apps but only the cache was cleared. |
But on my device, it clears all the app data. I have tried with different apps. Maybe it depends on android version and maybe something else. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thepm 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
The text was updated successfully, but these errors were encountered: