Add support for persisting wallpaper selection.

This commit is contained in:
Greyson Parrelli
2021-01-20 09:03:21 -05:00
parent 80651d2425
commit 6bcb0de43d
13 changed files with 447 additions and 37 deletions

View File

@@ -90,4 +90,26 @@ message DeviceLastResetTime {
}
repeated Pair resetTime = 1;
}
message Wallpaper {
message SingleColor {
int32 color = 1;
}
message LinearGradient {
float rotation = 1;
repeated int32 colors = 2;
repeated float positions = 3;
}
message File {
string uri = 1;
}
oneof wallpaper {
SingleColor singleColor = 1;
LinearGradient linearGradient = 2;
File file = 3;
}
float dimLevelInDarkMode = 4;
}