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

Skip to content
Commit ad6fbc96 authored by Kasia Krejszeff's avatar Kasia Krejszeff
Browse files

Fix an assumption that UserHandle.myUserId() always returns the main

user.

In some cases, e.g. in Private Space Storage Info fragment it returns
the Private profile id and this was leading to a crash, see b/378471943.

Bug: 378471943
Test: Manually and presubmit
Flag: com.android.settings.flags.utils_return_user_handle_for_current_user_id
Change-Id: I5f7bedc66ebcac8b0ae265b7189dd1821edb3cd7
parent 891ea3d1
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