Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e6c488d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Improve flicker when enter Security page" into sc-dev am: 9f7564c1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14934753

Change-Id: I842f8fc1cb090eae34d08a52e1badf3b94113de4
parents 101fd005 9f7564c1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -360,6 +360,11 @@ public class DashboardFeatureProviderImpl implements DashboardFeatureProvider {
        // Icon provided by the content provider overrides any static icon.
        if (tile.getMetaData() != null
                && tile.getMetaData().containsKey(META_DATA_PREFERENCE_ICON_URI)) {
            // Set a transparent color before starting to fetch the real icon, this is necessary
            // to avoid preference padding change.
            setPreferenceIcon(preference, tile, forceRoundedIcon, mContext.getPackageName(),
                    Icon.createWithResource(mContext, android.R.color.transparent));

            ThreadUtils.postOnBackgroundThread(() -> {
                final Intent intent = tile.getIntent();
                String packageName = null;