Use TabPersistentStoreObserver.onMetadataSavedAsynchronously to background the...
Use TabPersistentStoreObserver.onMetadataSavedAsynchronously to background the Browser Actions tab creation service Change the logic to background the Browser Actions tab creation service based on TabPersistentStoreObserver.onMetadataSavedAsynchronously. The callback indicates that tab model lists are backuped so the saved tabs can be restored succesfully. Also for the notification when a new tab has not been created (tabId is not available), the Intent to bind the notification will be a VIEW intent. This notification is necessary to make the service foreground. Bug: 766349 Change-Id: I73d49e2a1e26410b2dd6e51a07f35e9965b9a38a Reviewed-on: https://chromium-review.googlesource.com/769852Reviewed-by:Ted Choc <tedchoc@chromium.org> Commit-Queue: Lei Tian <ltian@chromium.org> Cr-Commit-Position: refs/heads/master@{#517492}
Showing
This diff is collapsed.
Please register or sign in to comment