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

Commit bcde1d5a authored by Alex Chau's avatar Alex Chau
Browse files

Log sizes being sent to widgets

Bug: 267448330
Test: manual
Change-Id: I25039c9c5721f4746a07e701caffacd0c7bd2609
parent de157720
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.content.Context;
import android.graphics.Point;
import android.graphics.Rect;
import android.os.Bundle;
import android.util.Log;
import android.util.Size;
import android.util.SizeF;

@@ -162,6 +163,8 @@ public final class WidgetSizes {
        options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_WIDTH, rect.right);
        options.putInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT, rect.bottom);
        options.putParcelableArrayList(AppWidgetManager.OPTION_APPWIDGET_SIZES, paddedSizes);
        Log.d("b/267448330", "provider: " + provider + ", paddedSizes: " + paddedSizes
                + ", getMinMaxSizes: " + rect);
        return options;
    }