Add some pages to search index.
* Notification access page * VR Listener page * Feature flags in dev options * QS Tile developer options * User dictionary * Billing cycle * Some accessibilty pages Bug: 70720645 Test: robotests Change-Id: I4f7d3d65b2803cebf178ac345a79721232df707c
This commit is contained in:
@@ -20,6 +20,7 @@ import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
import android.nfc.NfcAdapter;
|
||||
import android.util.Log;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
@@ -82,6 +83,9 @@ public class NfcPaymentPreferenceController extends BasePreferenceController imp
|
||||
if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC)) {
|
||||
return UNSUPPORTED_ON_DEVICE;
|
||||
}
|
||||
if (NfcAdapter.getDefaultAdapter(mContext) == null) {
|
||||
return UNSUPPORTED_ON_DEVICE;
|
||||
}
|
||||
if (mPaymentBackend == null) {
|
||||
mPaymentBackend = new PaymentBackend(mContext);
|
||||
}
|
||||
|
Reference in New Issue
Block a user