From 3a30cfeb7c805bf99dba9002ac8b22ae66d84378 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 16 Jul 2015 17:27:43 -0700 Subject: Adding minSpanX and minSpanY for all the launcher widgets Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858 --- protos/backup.proto | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'protos') diff --git a/protos/backup.proto b/protos/backup.proto index 09330ee06..d8d94e8cb 100644 --- a/protos/backup.proto +++ b/protos/backup.proto @@ -102,17 +102,17 @@ message Favorite { optional string iconResource = 17; optional bytes icon = 18; optional TargetType targetType = 19 [default = TARGET_NONE]; - } +} message Screen { required int64 id = 1; optional int32 rank = 2; - } +} message Resource { required int32 dpi = 1; required bytes data = 2; - } +} message Widget { required string provider = 1; @@ -120,4 +120,8 @@ message Widget { optional bool configure = 3; optional Resource icon = 4; optional Resource preview = 5; - } + + // Assume that a widget is resizable upto 2x2 if no data is available + optional int32 minSpanX = 6 [default = 2]; + optional int32 minSpanY = 7 [default = 2]; +} -- cgit v1.2.3