forked from microg/GmsCore
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
193 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
vending-app/src/main/java/org/microg/vending/enterprise/EnterpriseApp.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
|
||
option java_package = "org.microg.vending.delivery.proto"; | ||
option java_multiple_files = true; | ||
|
||
message DeliveryResponse { | ||
optional DeliveryStatus status = 1; | ||
optional DeliveryData deliveryData = 2; | ||
} | ||
|
||
enum DeliveryStatus { | ||
SUCCESS = 1; | ||
NOT_SUPPORTED = 2; | ||
NOT_PURCHASED = 3; | ||
APP_REMOVED = 7; | ||
APP_NOT_SUPPORTED = 9; | ||
} | ||
|
||
message DeliveryData { | ||
/* | ||
* Size of the file downloaded through `baseUrl` in bytes. | ||
*/ | ||
optional uint32 baseBytes = 1; | ||
/* | ||
* Location of `base.apk`. | ||
*/ | ||
optional string baseUrl = 3; | ||
repeated SplitDeliveryData splitPackages = 15; | ||
} | ||
|
||
/* | ||
* Encodes additional app bundle components (according to observations, both | ||
* OBB and split APK files). | ||
*/ | ||
message SplitDeliveryData { | ||
optional string splitPackageName = 1; | ||
/* | ||
* Size of the package described by this message, i.e. the file at `downloadUrl`. | ||
*/ | ||
optional uint32 size = 2; | ||
optional string sha1 = 4; | ||
optional string downloadUrl = 5; | ||
/* | ||
* Alternative download? Meaning not clear, unused. | ||
*/ | ||
optional DownloadInfo downloadInfo1 = 8; | ||
optional string sha256 = 9; | ||
optional string unknownInfoString = 15; | ||
/* | ||
* Alternative download? Meaning not clear, unused. | ||
*/ | ||
optional DownloadInfo downloadInfo2 = 16; | ||
} | ||
|
||
message DownloadInfo { | ||
optional int32 id = 1; | ||
optional uint32 bytes = 2; | ||
optional string url = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.