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

Skip to content
Commit 156e2cf3 authored by Jernej Virag's avatar Jernej Virag
Browse files

Don't query user ID via main thread binder calls

This removes constant binder calls for User ID on main thread from
NavigationModeController - cached value in UserTracker is used instead.

This also uses UserTracker for user change callback to ensure timing
consistency (previous approach uses the same signal as well).

Bug: 283808194
Test: since there's no automated tests, manually tested nav mode
      controller while switching user profiles on cheetah.
      Monitored both logcat and product behaviour to check that
      user ids still correctly change.
Change-Id: I89ad7711282a31286b1f7b9092098817bb0f2d01
parent b6ca21a6
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