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

Skip to content
Commit 25545ffd authored by felkachang's avatar felkachang
Browse files

Prepare comments and annotations for OverlayManagerTransaction public API

This patch doesn't change any logic or data type. It does the
followings.
* Add class comments for self-targeting
* Add comments and annotations for the APIs will be public
* Add @hide for the APIs not to public
* Add ctor OverlayManagerTransaction(OverlayManager) for apps
* Separate the comments for OverlayManagerService to private
  constructor
* @SuppressLint("NullableCollection") because it's null when the
  request type is only unregisteration.
* Make classes declaration to be final because of Parcelable.
* Refactor two functions from OverlayManagerTransaction.Builder
  * registerFabricatedOverlay
  * unregisterFabricatedOverlay
* Add @see relevant APIs.

Bug: 205919743

Test: make update-api ; make
Test: make online-sdk-docs offline-sdk-docs
Test: atest \
        OverlayHostTests \
        OverlayDeviceTests \
        SelfTargetingOverlayDeviceTests \
        OverlayRemountedTest \
        FrameworksServicesTests:com.android.server.om \
        CtsContentTestCases:android.content.om.cts \
        CtsContentTestCases:android.content.res.loader.cts \
        idmap2_tests
Change-Id: I4588d2399d5084abf067dc9ac40e22ccd167de19
parent 3d43d701
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