1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-19 13:48:58 +00:00

Skip reporting IAB canceled

This commit is contained in:
M66B 2020-05-16 19:45:06 +02:00
parent 120d27145d
commit 1123e158bc

View file

@ -515,8 +515,9 @@ public class ActivityBilling extends ActivityBase implements PurchasesUpdatedLis
EntityLog.log(this, message);
for (IBillingListener listener : listeners)
listener.onError(message);
if (result.getResponseCode() != BillingClient.BillingResponseCode.USER_CANCELED)
for (IBillingListener listener : listeners)
listener.onError(message);
}
private static String getBillingResponseText(BillingResult result) {