diff options
| author | Jonatan Rhodin <jonatan.rhodin@mullvad.net> | 2023-10-09 16:51:06 +0200 |
|---|---|---|
| committer | Jonathan <jonathan@mullvad.net> | 2023-10-16 18:34:07 +0200 |
| commit | c2f63ce2a5aa9049795e40a561ef6ffb5e4bf307 (patch) | |
| tree | c073f21706a6935c00ebc0010ee9cd6e1409f253 /mullvad-daemon/src | |
| parent | 9204e1c66e710d22ebf7b55ab6ec045cc53bdad9 (diff) | |
| download | mullvadvpn-c2f63ce2a5aa9049795e40a561ef6ffb5e4bf307.tar.xz mullvadvpn-c2f63ce2a5aa9049795e40a561ef6ffb5e4bf307.zip | |
Add play purchasing models
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/lib.rs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index ceb50ca2b2..8f661d981a 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -179,13 +179,11 @@ pub enum Error { #[error(display = "Failed to set exclusion group")] GroupIdError(#[error(source)] io::Error), - // TODO - //#[cfg(target_os = "android")] + #[cfg(target_os = "android")] #[error(display = "Failed to initialize play purchase")] InitPlayPurchase(#[error(source)] device::Error), - // TODO - //#[cfg(target_os = "android")] + #[cfg(target_os = "android")] #[error(display = "Failed to verify play purchase")] VerifyPlayPurchase(#[error(source)] device::Error), } @@ -338,12 +336,10 @@ pub enum DaemonCommand { #[cfg(target_os = "android")] BypassSocket(RawFd, oneshot::Sender<()>), /// Initialize a google play purchase through the API. - ///TODO - //#[cfg(target_os = "android")] + #[cfg(target_os = "android")] InitPlayPurchase(ResponseTx<PlayPurchasePaymentToken, Error>), /// Verify that a google play payment was successful through the API. - ///TODO - //#[cfg(target_os = "android")] + #[cfg(target_os = "android")] VerifyPlayPurchase(ResponseTx<(), Error>, PlayPurchase), } |
