Merge "Add support for showing border for desktop tile" into tm-qpr-dev am: 4ec2d1296f am: 8b67dae096

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

Change-Id: Ide3f87129dd787da1e32d21e592402d42bf5f1d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ats Jenk authored and Automerger Merge Worker committed 2023-02-15 19:38:25 +00:00
commit ef8cb15f5f
2 files changed
+10 -1

No files matched your search

@@ -132,6 +132,12 @@ public class DesktopTaskView extends TaskView {
mIconView.setDrawable(new LayerDrawable(new Drawable[]{iconBackground, icon}));
}
@Override
protected void updateBorderBounds(Rect bounds) {
bounds.set(mBackgroundView.getLeft(), mBackgroundView.getTop(), mBackgroundView.getRight(),
mBackgroundView.getBottom());
}
@Override
public void bind(Task task, RecentsOrientedState orientedState) {
bind(Collections.singletonList(task), orientedState);