Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

fix(List apps installed): add missing call to 'cursor.close()' when fetching installed PWA

Vincent Bourgmayer requested to merge 1843-fix-unclosed-resource into 115-epic

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

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/mobile-team/guidelines/Code-review

Edited by Vincent Bourgmayer

Merge request reports

Loading