summaryrefslogtreecommitdiff
path: root/core/java/android/os/SystemUpdateManager.java
Commit message (Collapse)AuthorAgeFilesLines
* API: Clean up redundant and ineffective usages of SystemApi and TestApiAdrian Roos2018-12-111-13/+0
| | | | | | | | | | | | | Everything that is marked SystemApi or TestApi, but not @hide is still part of the public SDK, it is therefore not sound to have that combination. In the future, specifing such a combination will be considered an error to prevent inadvertently exposing SystemApi and TestApi as public API. Bug: 115333477 Change-Id: Ibd5d6a22862fdbc1e20a1cb3925280f5a682edea Test: METALAVA_PREPEND_ARGS="--error UnhiddenSystemApi" m checkapi Exempt-From-Owner-Approval: API cleanup
* Add pending system update info system APIs.Tao Bao2018-01-181-0/+152
This CL adds system APIs in android.os.SystemUpdateManager. The APIs allow system updater apps (RECOVERY permission required) to publish the pending system update information, and allow other apps to query the info accordingly (requiring RECOVERY or READ_SYSTEM_UPDATE_INFO permission). Design doc in go/pi-ota-platform-api. Bug: 67437079 Test: Use test apps to call the new APIs to query and set the update info respectively. Change-Id: Id54b4a48d02922d2abd906dd7e2ec80a656fc9b1