Update lottie illustration for tablet
Bug: 243889662 Bug: 243889643 Test: visual Change-Id: Icac10e4401da3d704350aef6ef2723ff92ca34f8
This commit is contained in:
@@ -18,11 +18,7 @@ package com.android.settings.notification;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.core.BasePreferenceController;
|
||||
import com.android.settingslib.widget.IllustrationPreference;
|
||||
import com.android.settingslib.widget.LottieColorUtils;
|
||||
|
||||
/**
|
||||
* Controller for the illustration shown for the feature level settings screen for bubbles.
|
||||
@@ -37,13 +33,4 @@ public class BubbleNotificationIllustrationPreferenceController extends BasePref
|
||||
public int getAvailabilityStatus() {
|
||||
return AVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void displayPreference(PreferenceScreen screen) {
|
||||
super.displayPreference(screen);
|
||||
IllustrationPreference illustrationPreference = screen.findPreference(getPreferenceKey());
|
||||
illustrationPreference.setOnBindListener(animationView -> {
|
||||
LottieColorUtils.applyDynamicColors(mContext, animationView);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user