Merge "Update icon for security settings." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3e3b496738
@@ -259,8 +259,10 @@ public class DashboardFeatureProviderImpl implements DashboardFeatureProvider {
|
||||
return;
|
||||
}
|
||||
tile.icon = Icon.createWithResource(iconInfo.first, iconInfo.second);
|
||||
ThreadUtils.postOnMainThread(() ->
|
||||
preference.setIcon(tile.icon.loadDrawable(preference.getContext()))
|
||||
ThreadUtils.postOnMainThread(() -> {
|
||||
preference.setIcon(tile.icon.loadDrawable(preference.getContext()));
|
||||
tile.icon = null;
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user