summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-09-27 15:45:19 -0400
committerChris Wren <cwren@android.com>2013-10-03 12:57:52 -0400
commitfd13c714f412dfa8130fa7a664cb1692a565c539 (patch)
treeabbc1ace7fb9f7f48d9c3f357d49d684e52244fc /protos
parente0916aec7d5d1d83c8ef09c5e8310f05acc568bb (diff)
downloadandroid_packages_apps_Trebuchet-fd13c714f412dfa8130fa7a664cb1692a565c539.zip
android_packages_apps_Trebuchet-fd13c714f412dfa8130fa7a664cb1692a565c539.tar.gz
android_packages_apps_Trebuchet-fd13c714f412dfa8130fa7a664cb1692a565c539.tar.bz2
backup widget assets.
Bug: 10778984 Change-Id: I842a88c517401fa4eb3798fd03e0fbc3634e3144
Diffstat (limited to 'protos')
-rw-r--r--protos/backup.proto13
1 files changed, 11 insertions, 2 deletions
diff --git a/protos/backup.proto b/protos/backup.proto
index f43f338..7ba2937 100644
--- a/protos/backup.proto
+++ b/protos/backup.proto
@@ -24,6 +24,7 @@ message Key {
FAVORITE = 1;
SCREEN = 2;
ICON = 3;
+ WIDGET = 4;
}
required Type type = 1;
optional string name = 2; // keep this short
@@ -71,6 +72,14 @@ message Screen {
}
message Resource {
- required int32 dpi = 2;
- required bytes data = 3;
+ required int32 dpi = 1;
+ required bytes data = 2;
+ }
+
+message Widget {
+ required string provider = 1;
+ optional string label = 2;
+ optional bool configure = 3;
+ optional Resource icon = 4;
+ optional Resource preview = 5;
}