commit | 9c1500f4aa539544599804dc32a93b8791869f64 | [log] [tgz] |
---|---|---|
author | Po-Chien Hsueh <pchsueh@google.com> | Mon Mar 04 14:47:46 2019 +0800 |
committer | Po-Chien Hsueh <pchsueh@google.com> | Tue Mar 05 16:07:01 2019 +0800 |
tree | 946b82b801c4db2784cd2d3ec4384290b48765f8 | |
parent | 5af401bd35a188a4a8c928f66993bf2c22247f2c [diff] |
Use GSID progress API during startInstallation() Use getInstallationProgress() while startInstallation() is running. startIntallation() takes up to 90 seconds. So, move it to another thread and allow user to cancel it. Bug: 124614460 Test: adb shell am, then cancel it from notification Change-Id: I685f7fff9992a99b8c033760a406922b41b058f6