summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-07-20 12:59:39 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-07-22 16:48:23 -0700
commit107ea6345bff14ad172013783040bb127deacb61 (patch)
tree39df0584954a632c24980b0d82953b36d16dd8a5 /protos
parent7e0a403759c401d3b94f4576bca3aa8fb94fe542 (diff)
downloadandroid_packages_apps_Trebuchet-107ea6345bff14ad172013783040bb127deacb61.zip
android_packages_apps_Trebuchet-107ea6345bff14ad172013783040bb127deacb61.tar.gz
android_packages_apps_Trebuchet-107ea6345bff14ad172013783040bb127deacb61.tar.bz2
Adding rank column in backup
> targetType was only added for M builds, so it can also be considered as v4 change. V3 which introduced minSpanX and minSpanY didn't contain targetType Bug: 22417713 Change-Id: I5c353674f7e0c2b5b4ab46e574fdb347d82028cd
Diffstat (limited to 'protos')
-rw-r--r--protos/backup.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/protos/backup.proto b/protos/backup.proto
index d8d94e8..6704e08 100644
--- a/protos/backup.proto
+++ b/protos/backup.proto
@@ -101,7 +101,10 @@ message Favorite {
optional string iconPackage = 16;
optional string iconResource = 17;
optional bytes icon = 18;
+
+ // Added in backup version 4
optional TargetType targetType = 19 [default = TARGET_NONE];
+ optional int32 rank = 20;
}
message Screen {
@@ -121,6 +124,7 @@ message Widget {
optional Resource icon = 4;
optional Resource preview = 5;
+ // Added in backup version 3
// 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];