Unexpected error handling

This commit is contained in:
M66B
2018-09-15 05:49:54 +00:00
parent d9384a8dfe
commit 1cc3d79ce9
15 changed files with 44 additions and 43 deletions

View File

@@ -12,7 +12,6 @@ import android.preference.PreferenceManager;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Toast;
import com.android.billingclient.api.BillingClient;
import com.android.billingclient.api.BillingClientStateListener;
@@ -144,7 +143,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
setIntent(intent);
} catch (NoSuchAlgorithmException ex) {
Log.e(Helper.TAG, Log.getStackTraceString(ex));
Toast.makeText(this, ex.getMessage(), Toast.LENGTH_LONG).show();
Helper.unexpectedError(this, ex);
}
}