diff --git a/src/com/android/settings/nfc/PaymentSettings.java b/src/com/android/settings/nfc/PaymentSettings.java index 42545b909f5..985a1e698ae 100644 --- a/src/com/android/settings/nfc/PaymentSettings.java +++ b/src/com/android/settings/nfc/PaymentSettings.java @@ -115,8 +115,10 @@ public class PaymentSettings extends SettingsPreferenceFragment { PaymentBackend paymentBackend = new PaymentBackend(mContext); paymentBackend.refresh(); PaymentAppInfo app = paymentBackend.getDefaultApp(); - mSummaryLoader.setSummary(this, mContext.getString(R.string.payment_summary, - app.label)); + if (app != null) { + mSummaryLoader.setSummary(this, mContext.getString(R.string.payment_summary, + app.label)); + } } } }