summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-07-16 17:27:43 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-07-16 19:35:36 -0700
commit249a510ab318db461ce1ac86baca01021fe41a2c (patch)
tree682d94252aaf5e43a2743de4082ecdfd68628bf2 /protos
parent3fec14bedc03d77aa7a066a8053c6068dddda192 (diff)
downloadandroid_packages_apps_Trebuchet-249a510ab318db461ce1ac86baca01021fe41a2c.zip
android_packages_apps_Trebuchet-249a510ab318db461ce1ac86baca01021fe41a2c.tar.gz
android_packages_apps_Trebuchet-249a510ab318db461ce1ac86baca01021fe41a2c.tar.bz2
[DO NOT MERGE] Adding minSpanX and minSpanY for all the launcher widgets
Bug: 22353460 Change-Id: Id4450dee42a83e4603dcd56e1c4dec2b0e405858
Diffstat (limited to 'protos')
-rw-r--r--protos/backup.proto12
1 files changed, 8 insertions, 4 deletions
diff --git a/protos/backup.proto b/protos/backup.proto
index 44c4b09..f3ad0b6 100644
--- a/protos/backup.proto
+++ b/protos/backup.proto
@@ -90,17 +90,17 @@ message Favorite {
optional string iconPackage = 16;
optional string iconResource = 17;
optional bytes icon = 18;
- }
+}
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;
@@ -108,4 +108,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];
+}