mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-22 20:18:36 +00:00
Detect storage space issues during restore.
This commit is contained in:
committed by
Greyson Parrelli
parent
b4472833b8
commit
7f1a866e79
@@ -14,6 +14,7 @@ import kotlin.time.Duration.Companion.milliseconds
|
||||
*/
|
||||
sealed interface BillingPurchaseResult {
|
||||
data class Success(
|
||||
val purchaseState: BillingPurchaseState,
|
||||
val purchaseToken: String,
|
||||
val isAcknowledged: Boolean,
|
||||
val purchaseTime: Long,
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright 2024 Signal Messenger, LLC
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
||||
package org.signal.core.util.billing
|
||||
|
||||
/**
|
||||
* BillingPurchaseState which aligns with the Google Play Billing purchased state.
|
||||
*/
|
||||
enum class BillingPurchaseState {
|
||||
UNSPECIFIED,
|
||||
PURCHASED,
|
||||
PENDING
|
||||
}
|
||||
Reference in New Issue
Block a user