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

Commit a4b09144 authored by Lucas Silva's avatar Lucas Silva
Browse files

Move widget view inflation to the main thread

We currently create the app widget host view in a background thread
since it involves blocking IPCs. However, this is causing view inflation
to also happen in the background which is breaking some widgets. This
change ensures the listener callbacks are always executed on the main
thread, so ensure view operations happen on the main thread.

Fixes: 363880547
Test: atest CommunalAppWidgetHostTest
Test: verified manually using widgets with lists
Flag: EXEMPT bugfix
Change-Id: I18cf84bd9f36a1faccac74437e0ba2260735a3a8
parent 820d366c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment