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

Commit c1a2f26e authored by Brad Hinegardner's avatar Brad Hinegardner Committed by Android Build Coastguard Worker
Browse files

Move listener additions within AccessibilityRepository to background

We should specify our own background Handlers and Executors
so that the binder calls don't happen on the main thread.

The overloaded signature without these default to the main
thread, without being obvious they are doing so.

The tests also now force a non-nulls to be passed too.

Fixes: 409473208
Test: atest AccessibilityRepositoryTest.kt
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fcd75ab5d7d5af43f555160a6bf012a63c5ef9c7)
Merged-In: Ie22cf8877bf585d1a7d0ebf28f368c288024a4e8
Change-Id: Ie22cf8877bf585d1a7d0ebf28f368c288024a4e8
parent ed633004
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