Merge "Controls Ui - Fix seeding crash" into rvc-dev am: 86a91d2de0 am: 6fefb20133

Change-Id: I191fe5f7c21de95aea3058ee3a757cd462fcb198
This commit is contained in:
TreeHugger Robot
2020-04-16 19:23:26 +00:00
committed by Automerger Merge Worker

View File

@@ -395,6 +395,7 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
if (preferredComponent == null) { if (preferredComponent == null) {
Log.i(TAG, "Controls seeding: No preferred component has been set, will not seed"); Log.i(TAG, "Controls seeding: No preferred component has been set, will not seed");
mControlsPreferences.edit().putBoolean(PREFS_CONTROLS_SEEDING_COMPLETED, true).apply(); mControlsPreferences.edit().putBoolean(PREFS_CONTROLS_SEEDING_COMPLETED, true).apply();
return;
} }
mControlsController.seedFavoritesForComponent( mControlsController.seedFavoritesForComponent(