Merge "Update lottie illustration for tablet" into tm-qpr-dev am: b5215abde7
am: 366ed57197
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21154459 Change-Id: I7ba454aa3a58ec6c8f848ac5d09ea2385fdb3a33 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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