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

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

Follow API council suggest to modify API for SelfTargeting

Accept the suggestions from API council
* OverlayManager.commit instead of OverlayManagerTrasnaction.commit
* By using factory method rather than constructor
  * OverlayManagerTrasnaction.newInstance for SelfTargeting.
  * get an OverlayManagerTrasnaction instance without OverlayManager
  * Limit the impact range only in the caller app.

Fix: 265814842
Bug: 269197647
API-Coverage-Bug: 262232910
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 # result is http://ab/I42700010129841043

Change-Id: I7e81cb3209e78c7fb8ea7ea2072ec88f33053570
parent 7820536e
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