@UserHandleAware parameters for permissions & sdk

As we upgrade old non-@UserHandleAware methods to become
@UserHandleAware, we must document when that behaviour-changing
modification was made. We also need to document permissions requirements
that only apply if the context and calling users differ (to avoid making
it appear that new permission requirements are being demanded even in
the original calling-user case).

We accomplish this by adding some parameters to the annotation.

Test: atest com.android.server.pm.UserManagerTest
Test: atest android.multiuser.cts.UserManagerTest
Bug: 183155436
Ignore-AOSP-First: Part of internal topic
Change-Id: Id711655a3d464ccdbdd4a35425c085e594088caf
1 file changed
tree: a7a7e5b5b7b7f95708fb2425685124f4f653e627
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING