mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Lifecycle aware unexpected error handling
This commit is contained in:
@@ -138,7 +138,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
|
||||
if (responseCode != BillingClient.BillingResponse.OK)
|
||||
Snackbar.make(getView(), text, Snackbar.LENGTH_LONG).show();
|
||||
} else
|
||||
Helper.view(this, getIntentPro());
|
||||
Helper.view(this, this, getIntentPro());
|
||||
}
|
||||
|
||||
private void onActivatePro(Intent intent) {
|
||||
@@ -160,7 +160,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
|
||||
}
|
||||
} catch (NoSuchAlgorithmException ex) {
|
||||
Log.e(Helper.TAG, Log.getStackTraceString(ex));
|
||||
Helper.unexpectedError(this, ex);
|
||||
Helper.unexpectedError(this, this, ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user