mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-26 19:56:02 +01:00
Add MediaTTL to subscriptions configuration and wire in.
This commit is contained in:
committed by
Greyson Parrelli
parent
bf3012bd8a
commit
61f91d6b83
@@ -108,6 +108,9 @@ public class SubscriptionsConfiguration {
|
||||
@JsonProperty("playProductId")
|
||||
private String playProductId;
|
||||
|
||||
@JsonProperty("mediaTtlDays")
|
||||
private long mediaTtlDays;
|
||||
|
||||
public long getStorageAllowanceBytes() {
|
||||
return storageAllowanceBytes;
|
||||
}
|
||||
@@ -115,6 +118,10 @@ public class SubscriptionsConfiguration {
|
||||
public String getPlayProductId() {
|
||||
return playProductId;
|
||||
}
|
||||
|
||||
public long getMediaTtlDays() {
|
||||
return mediaTtlDays;
|
||||
}
|
||||
}
|
||||
|
||||
public Map<String, CurrencyConfiguration> getCurrencies() {
|
||||
|
||||
Reference in New Issue
Block a user