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

Change-Id: I05d4edf24dd62e1b39a7eaae874b77af76f0bb4b
This commit is contained in:
TreeHugger Robot
2020-04-16 19:34:25 +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();
}
}
}