Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77452b8a authored by Hiroki Yamamoto's avatar Hiroki Yamamoto Committed by android-build-merger
Browse files

Merge "NFC: Reset Tap&pay summary text if default payment is not set" am: e990bf30

am: 56a8267f

Change-Id: Idca7ade0068f390289c7c13d1765fead6e0e1d35
parents 7151be92 56a8267f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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);
            }
        }
    }