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

Commit 56a8267f 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

Change-Id: I2b2978a82a9dbee948b4e50f2b85978b9ddb58e5
parents 6270dce2 e990bf30
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);
            }
        }
    }