Merge "Controls Ui - Fix seeding crash" into rvc-dev am: 86a91d2de0
Change-Id: I4481fd76454a07e7eb83463fbc61bcd56d9d6071
This commit is contained in:
@@ -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(
|
||||||
@@ -2316,4 +2317,4 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
|
|||||||
&& mControlsUiController.getAvailable()
|
&& mControlsUiController.getAvailable()
|
||||||
&& !mControlsServiceInfos.isEmpty();
|
&& !mControlsServiceInfos.isEmpty();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user