Skip to content

Eliminate Loader: create audio stream icon instead of using Loader

Fushan Wen requested to merge work/fuf/tm/moc into master

As we all know, Loader is an Item, which will consume some memory. But in daily usage only a few applications have audio streams, so it's not very efficient to put a Loader in the task component. This uses createComponent and createObject to reduce the memory consumption of the task manager applet.

This saves about 2000kb memory when there are 10 tasks in the task manager and none of the tasks has audio stream.

Before After
before after
Edited by Fushan Wen

Merge request reports