You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WRITE_EXTERNAL_STORAGE is using in those classes. Please check this.
leakcanary.internal.RequestStoragePermissionActivit
leakcanary.internal.LeakDirectoryProvider
We're able to write directly to the Downloads folder (tested on API 33) so there's no reason to check for storage permission when trying to cleanup, we instead just check if we can actually write to that directory and if not we don't cleanup.
This is related to #2415
We're able to write directly to the Downloads folder (tested on API 33) so there's no reason to check for storage permission when trying to cleanup, we instead just check if we can actually write to that directory and if not we don't cleanup.
This is related to #2415
Steps to Reproduce
App > Updated that app targets 33 > Apps is running > Leak canary pops up > It can't see notification
Expected behavior: [What you expect to happen]
App > Updated that app targets 33 > Apps is running > Leak canary pops up > It can see notification
Version Information
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
From Android 13 devices, WRITE_EXTERNAL_STORAGE is removed.
https://issuetracker.google.com/issues/237634019
https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions
WRITE_EXTERNAL_STORAGE is using in those classes. Please check this.
leakcanary.internal.RequestStoragePermissionActivit
leakcanary.internal.LeakDirectoryProvider
leakcanary/leakcanary-android-core/src/main/java/leakcanary/internal/LeakDirectoryProvider.kt
Line 71 in 5e69400
The text was updated successfully, but these errors were encountered: