Skip to content

Image loading blocks the main thread #43

@hacker1024

Description

@hacker1024

Describe the bug
The main thread is blocked when the plugin loads a new image for the notification.

To Reproduce
This can be observed easily if you turn off wifi/mobile data and add a new MediaItem. The network request takes a while to time out, and the app is unresponsive while it does.

Expected behavior
The image loading should be entirely asynchronous.

Runtime Environment (please complete the following information):

  • Device: Xiaomi POCOPHONE F1
  • Android version: 9.0 (Pixel Experience CAF ROM)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions