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

Skip to content
Commit 4d851ae6 authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

Pass a bg handler when registering broadcast receiver

This should hopefully ensure that we're avoiding doing binder calls on
the main thread.

I made it nullable because we don't have a great way to fake a handler
in SettingsLib, unless we want to add a dependency on
SystemUITestUtils...

Bug: 348810424
Test: ZenModeRepositoryTest
Flag: com.android.settingslib.flags.volume_panel_broadcast_fix
Change-Id: I6aa1e45efa08dcd7e3352db3b383d317d1a56b90
parent 6fbe5880
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