mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Merge "Log sizes being sent to widgets" into tm-qpr-dev am: b9f2727171
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21261871 Change-Id: I798142ced5f66d13db5e83ff35ae3d62482e0e5a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user