Skip to content
Commit 4da071e0 authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Reduce blocking calls to Settings in main thread

In most cases, mTileList contains the same information as the Settings
value, so there's no need to retrieve it before modifying it. Keep track
of that with a dirty flag.

This way, we reduce the number of blocking calls in the main thread (as
that's the thread that processes the tiles).

Test: manual, factory reset
Test: existing QSTileHostTest
Test: performance metrics are back to baseline
Fixes: 240256263
Change-Id: Idebd37d1458c80330b60802729575219b6a7b49a
Merged-In: Idebd37d1458c80330b60802729575219b6a7b49a
parent 6098b8f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment