generated from racka98/ComposeAndroidTemplate
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
Describe the bug
After the ComposeView in AppScreenTimeOverlayUI is detached from the Window it stays in memory and leaks.
All details match this issue that hasn't been fixed yet: https://issuetracker.google.com/issues/240975572
To Reproduce
Steps to reproduce the behavior:
- Set a screen time limit for an App
- Open the app so the block overlay ui shows up
- Exit the Overlay using the Exit Button or Home button
- Leak canary will be observing the ComposeView instance and report that it's leaking
Expected behavior
ComposeView for AppScreenTimeOverlayUI should be destroyed and should not stay in memory
Screenshots
Will attach stack trace later
Device:
- Model: Pixel 4a 5G
- OS: Android
- Version: 13 (API 33)
- App version: 1.0.0-alpha07
Additional context
None at the moment