Update illustrations in Private Space setup & settings

This inlcudes the changes to use latest private space icon and update
the illustrations in private space setup and settings.
Change made to update illustrations dynamically between light and dark
theme.

Recordings link:
b/332867167#comment3

Bug: 332867167
Test: Manual
Change-Id: I6387c9991ec9bb419f446431926f99843f92c859
This commit is contained in:
josephpv
2024-04-09 11:43:53 +00:00
committed by Joseph Vincent
parent af800e55f4
commit f145d0e9a0
11 changed files with 45 additions and 12 deletions

View File

@@ -34,7 +34,9 @@ import androidx.annotation.Nullable;
import com.android.settings.R;
import com.android.settings.core.InstrumentedFragment;
import com.android.settingslib.widget.LottieColorUtils;
import com.airbnb.lottie.LottieAnimationView;
import com.google.android.setupcompat.template.FooterBarMixin;
import com.google.android.setupcompat.template.FooterButton;
import com.google.android.setupdesign.GlifLayout;
@@ -72,6 +74,8 @@ public class SetupSuccessFragment extends InstrumentedFragment {
}
};
requireActivity().getOnBackPressedDispatcher().addCallback(this, callback);
LottieAnimationView lottieAnimationView = rootView.findViewById(R.id.lottie_animation);
LottieColorUtils.applyDynamicColors(getContext(), lottieAnimationView);
return rootView;
}