Loading src/com/android/settings/nfc/PaymentSettings.java +3 −2 Original line number Diff line number Diff line Loading @@ -116,10 +116,11 @@ public class PaymentSettings extends SettingsPreferenceFragment { PaymentBackend paymentBackend = new PaymentBackend(mContext); paymentBackend.refresh(); PaymentAppInfo app = paymentBackend.getDefaultApp(); String summary = null; if (app != null) { mSummaryLoader.setSummary(this, mContext.getString(R.string.payment_summary, app.label)); summary = mContext.getString(R.string.payment_summary, app.label); } mSummaryLoader.setSummary(this, summary); } } } Loading Loading
src/com/android/settings/nfc/PaymentSettings.java +3 −2 Original line number Diff line number Diff line Loading @@ -116,10 +116,11 @@ public class PaymentSettings extends SettingsPreferenceFragment { PaymentBackend paymentBackend = new PaymentBackend(mContext); paymentBackend.refresh(); PaymentAppInfo app = paymentBackend.getDefaultApp(); String summary = null; if (app != null) { mSummaryLoader.setSummary(this, mContext.getString(R.string.payment_summary, app.label)); summary = mContext.getString(R.string.payment_summary, app.label); } mSummaryLoader.setSummary(this, summary); } } } Loading