summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Alex Buynytskyy <alexbuy@google.com> 2023-11-09 19:38:56 +0000
committer Alex Buynytskyy <alexbuy@google.com> 2023-11-10 20:10:16 +0000
commitab59af618cbd50ea78e4cdbd70cff3339a6fab4f (patch)
tree3e0a6cdd342cd768f81ec4a442dbb77e7b741e1e /api/api.go
parent60441d2c19eb25fda0b2deada16751be2cfc07a9 (diff)
Introduce a new APK attribute: updatableSystem, default true.
Specified in the manifest. If a preloaded APK is marked updatableSystem=false, any request for an update is rejected. If an APK marked updatableSystem=false is being installed, regardless of the updatableSystem state of the version it's replacing, the install is rejected. Disregard this restriction adb running as root. !!This also marks Shell as such package!!! Bug: 266131956 Test: atest PackageManagerTest Test: atest PackageManagerServiceUnitTest Change-Id: I86622e48a368bed260949b62c558c3e6ee0df931
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions