1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 13:44:40 +00:00

Cache Play Store purchase status for 3 days

This commit is contained in:
M66B 2023-08-11 07:53:14 +02:00
parent 1ebd35d08c
commit 3dbb121353

View file

@ -81,8 +81,8 @@ public class ActivityBilling extends ActivityBase implements
static final String ACTION_PURCHASE_ERROR = BuildConfig.APPLICATION_ID + ".ACTION_PURCHASE_ERROR";
private static final String SKU_TEST = "android.test.purchased";
private static final long MAX_SKU_CACHE_DURATION = 24 * 3600 * 1000L; // milliseconds
private static final long MAX_SKU_NOACK_DURATION = 24 * 3600 * 1000L; // milliseconds
private static final long MAX_SKU_CACHE_DURATION = 3 * 24 * 3600 * 1000L; // milliseconds
private static final long MAX_SKU_NOACK_DURATION = 3 * 24 * 3600 * 1000L; // milliseconds
@Override
@SuppressLint("MissingSuperCall")