Open daudrain opened 11 months ago
Apparently the Android 13 on S9 decided to kill the Clarius App because it is in the background but it shouldn't because the app is running a foreground service (the Mobile API service). This usually happens when memory is running low and the OS reclaims resources. To prevent this: avoid running other apps in parallel or keep the Clarius App in the foreground (e.g. split screen). I will try to reproduce.
The Galaxy Tab S9 we're using have 12GB of memory, less than 5GB is in use. It also occurs when using a demo scanner.
Looks like a specific build issue.
Setting the Clarius app's battery usage as unrestricted looks to work around this behavior.
Steps
Results
With Samsung Galaxy Tab S9 5G/Model SM X716B/Android 13
After few seconds, the client app stops receiving ultrasound images.
With Samsing Galaxy Tab S8 or S7/Android 13 - Android 11
Images are being streamed for ever (until the probe runs out of battery or it is too hot)
Samsung Tab S9 Logcat
There are some weird
FreecessController
logs occuring on S9 few seconds after getting the first images that don't occur on S8:Do you see any workaround to prevent the freeze behavior on S9?
Thx