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

Skip to content
Commit 28f1c8ab authored by Aditya's avatar Aditya
Browse files

Add @RequiresApi annotation for sdk version S for UserManagerState.

The interface is not used for sdk version R because call to
ActivityManager.getCurrentUser() is not supported. Explicit checks for
minimum sdk version had to be added to all the places that were using
either UserManagerState or TestUserManagerState instances. This had to
be done to satisfy presbumit lint checks.

Bug: 329508093
Test: atest DocumentsUIUnitTests
Change-Id: I32317805d1aae3b0a0fb89a486a41c3b24889bc4
parent 862c9f9e
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