MuntashirAkon / MuntashirAkon/AppManager
Cache size is not updated after clear cache
- Dominant language
- Java
- Stars
- 9k
- Forks
- 518
- PR merge metrics
- No merged PRs in 30d
Description
### Please check before submitting an issue
- [x] I know what my device, OS and App Manager versions are
- [x] I know how to take logs
- [x] I know that generating a report, in whole part or in part, using AI/LLM is prohibited
- [x] I know how to reproduce the issue which may not be specific to my device
### Describe the bug
If I clear cache of an app, the value Cache inside "Storage and cache" should became 0 but stay at the previous value, if I refresh the app with swipe, the value stay still to the previous value, after I come back to the list of app and enter in the App Details the cache become 0.
### To Reproduce
1. choose an app from app list
2. see the value of Cache inside "Storage and cache"
3. tap on button "Clear cache", toast "Done" appear
4. see the value of Cache inside "Storage and cache", still previous value
5. refresh the app with swipe
6. see the value of Cache inside "Storage and cache", still previous value
7. go back to the app list
8. enter to the same app
9. see the value of Cache inside "Storage and cache", now is 0
### Expected behavior
I expect it to become 0 after the command is executed, or at least after a refresh; instead, I have to exit and re-enter.
### Screenshots
_No response_
### Logs
_No response_
### Device info
- Device:Samsung A72
- OS Version:14
- App Manager Version:4.1.0
- Mode: Root
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue from the App Details screen by checking the Cache value under “Storage and cache” before and after tapping “Clear cache,” then after a swipe refresh. Trace the App Details cache display and refresh entry points. Done means the displayed cache value becomes 0 immediately or after refresh without leaving and re-entering the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100