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

Change-Id: I4481fd76454a07e7eb83463fbc61bcd56d9d6071
This commit is contained in:
TreeHugger Robot
2020-04-16 19:06:58 +00:00
committed by Automerger Merge Worker

View File

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