fix(List apps installed): add missing call to 'cursor.close()' when fetching installed PWA
Description
In logcat I saw each time " A resource failed to call close" for a while. This MR fix it.
Technical details
When listing installed PWA to sync list of installed apps, the query's cursor wasn't closed if no PWA was installed. This is fixed.
Tests
-
Checked with Strictmode enabled
Issues
https://gitlab.e.foundation/e/os/backlog/-/issues/1843
10 commandments of code reviews
Edited by Vincent Bourgmayer