Hello ,
I was developing an Android app using Android Studio SDK and Kotlin and in the app I gave the user an option to change from LightMode to DarkMode and vice versa … But I found a memory leak from samsung os while testing “Used Samsung A22 with latest software update”
The memory leak comes from
com.samsung.android.multiwindow.MultiSplitActions
And
com.android.internal.policy.PhoneWindow
For more info please check my StackOverFlow question.
Hello,
Thank you for reaching Samsung Developer Forum.
I have forwarded your issue to the respective team. I will let you know as soon as I hear back from them.
Best regards,
Samiul Hossain
Samsung Developer Relations
1 Like
Hello,
Thank you for waiting patiently.
Please give me an APK file of your application or a sample application that can be used to test your issue.
Best regards,
Samiul Hossain
Samsung Developer Relations
Hello,
I have uploaded an apk with the memory leak function so you can test it, Download it from GoogleDrive
LeakCanary is already enabled so it should make things easier
To reproduce the memory-leak:
-Open the app
-Change the app from dark mode to light mode or vice versa from top right button
-The app now should change colors and Leak canary will appear on the screen “Dumping Data”
-You will find the leak data by opening the analysis from the notification bar