Invert playNonAtomicComponent() as onlyPlayAtomicComponent()

This avoids the double negative we use in a few places, so should be clearer.
Also added some comments to explain what the animComponents are used for.

Change-Id: Ibd25bd12efce6553b377bbd9c0651e4f4ac3e498
This commit is contained in:
Tony Wickham
2020-03-06 15:56:46 -08:00
parent 31ff98e144
commit 984c01cbcd
6 changed files with 39 additions and 17 deletions

View File

@@ -162,7 +162,7 @@ public class AllAppsTransitionController implements StateHandler, OnDeviceProfil
return;
}
if (!config.playNonAtomicComponent()) {
if (config.onlyPlayAtomicComponent()) {
// There is no atomic component for the all apps transition, so just return early.
return;
}