Check the app type when pause or unpause an app.
When the app doesn't exist in AppService, if the PauseApp is called, the app is added to AppService with the app type Unknown, then later when the app is added, the app type is changed to Web or Arc. In theory, the app type should not be changed, so add the app type checking when pause or unpause an app. BUG=1055937 Change-Id: Iafd4befb6f7369977a3693d84994f3453876af7b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2089445Reviewed-by:Dominick Ng <dominickn@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#747565}
Showing
Please register or sign in to comment