forked from AOSP-10/frameworks_base
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qt_dev: Fix ContentSuggestions service connection
Issue: When the RemoteContentSuggestionsService dies (due to package manager update or clear data), the ContentSuggestionsPerUserService (system) does not restart and uses an old zombie instance. Fix: Reset the instance upon onServiceDied in the system service. Test: Verified that stopping/clear-data/package-update of Device Personalization Services (which implements ContentSuggestionsService) multiple-times and then Overview long-press actually works. Also verified that if the Remote Service crashes, we don't keep reconnecting infinitely. Fixes: 120865921 Fixes: 130420008 Change-Id: I80197ec1cb446ddb5f1865a4b75beb18b48d2e9e
- Loading branch information
1 parent
2aa255a
commit bcedb60
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters