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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user