Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
150003 commits behind the upstream repository.
user avatar
Adam Bookatz authored
For older APIs, UserManager uses the method getContextUserIfAppropriate() to get the context user (if a newer API level) or the calling user (if an older API level). We had to gate on API level so that we could convert old API usage to the new context-user-based style.

In this cl, we recognize this method as a legit context-user-style method, so that we can stop getting AndroidFrameworkContextUserId lint warnings on UserManager.

Change-Id: I95ee95645314ab9105a48a800de06d9b8c7ecb85
Fixes: 268129776
Test: atest error_prone_android_framework_test
c80cb2eb
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
java
refaster
tests
Android.bp
OWNERS