Revert "ota: Make sure we don't install on top of an incompatible system"
We can't use calendar since since some gapps packages replace it.
This reverts commit a0c75667.
Change-Id: Ic46589e47728804f2d89051f4aecf355f37d85a0
(cherry picked from commit 5875e343)
## Hax: a failure from run_program doesn't trigger an abort, so have it change the key value and check for "INVALID"
self.script.append('sha1_check(read_file("/tmp/releasekey"),"7241e92725436afc79389d4fc2333a2aa8c20230") && abort("Can\'t install this package on top of incompatible data. Please try another package or run a factory reset");')
defShowProgress(self,frac,dur):
"""Update the progress bar, advancing it over 'frac' over the next
'dur' seconds. 'dur' may be zero to advance it via SetProgress