commit | 5a66a030bdb583a12eb5509186d73840b71a6a21 | [log] [tgz] |
---|---|---|
author | Adam Bookatz <bookatz@google.com> | Wed Mar 25 15:04:03 2020 -0700 |
committer | Adam Bookatz <bookatz@google.com> | Wed Mar 25 15:04:03 2020 -0700 |
tree | 1445f0b0a6973a369c5029fa61852b12cb921a9d | |
parent | 285e4fe0a1c9fbd491aadd8cf28ef27893cb5ce8 [diff] |
Let UserController mock OTAs The system property "persist.pm.mock-upgrade" simulates an OTA in certain contexts in the PackageManager. It would be convenient if UserController also obeys it (to test things like ManagedProvisioning responding correctly to OTAs). Bug: 143200798 Test: Manual test of adb root; adb shell setprop persist.pm.mock-upgrade 1 Change-Id: I9326f70eb1864b356a1ff33e36bfeae7f6ad0ce6