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:
Fan Zhang
2018-07-11 09:41:39 -07:00
parent 9848bbd0cf
commit af1552251f
40 changed files with 472 additions and 132 deletions

View File

@@ -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);
}