commit | 9798973c017214bf4c63f804c85e5ae28b260938 | [log] [tgz] |
---|---|---|
author | Pavel Grafov <[email protected]> | Wed Apr 15 14:45:47 2020 +0100 |
committer | Pavel Grafov <[email protected]> | Tue Apr 21 12:24:49 2020 +0100 |
tree | 1ea51870b4d1644ed3e5ced5a83f176259a74e01 | |
parent | ae92baceeb056d81dadeb128befe30ba48a8b810 [diff] |
Clear uninstall block when removing DO. Another way was to clear it using existing APIs for each package but each call would cause Package Manager to re-serialize the package-restrictions.xml, so I added a separate API to do it in one go. Bug: 149075700 Test: manual, set TestDPC as a DO, block uninstall, remove DO. Test: manual, set TestDPC in COMP, block uninstall, migrate to COPE. Change-Id: I9be69af5d7ae9e0ddda087d3e01e35f3429f25f4