Handle app reinstallation.
This Cl modifies AppActivityRegistry to correctly handle corner cases where applications are re-installed by doing the following: 1. If the running active time of an app is non-zero restore the application when initializing AppActivityRegistry even if the application is uninstalled. 2. Only remove entries in CleanRegistry if the application is uninstalled, has no unreported activities and its running active time is zero. Bug: 1060340 Change-Id: Idbefe82a686eaa56d31488d305f93c379d7b2bda Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097303 Commit-Queue: Yilkal Abe <yilkal@chromium.org> Reviewed-by:Aga Wronska <agawronska@chromium.org> Cr-Commit-Position: refs/heads/master@{#750234}
Showing
Please register or sign in to comment