Merge "Controls Ui - Fix seeding crash" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-16 18:51:33 +00:00
committed by Android (Google) Code Review

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(