1 /* 2 * Copyright (C) 2023 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.nfc; 18 19 import android.provider.Settings; 20 21 /** 22 * @hide 23 * TODO(b/303286040): Holds @hide API constants. Formalize these APIs. 24 */ 25 public final class Constants { Constants()26 private Constants() { } 27 28 public static final String SETTINGS_SECURE_NFC_PAYMENT_FOREGROUND = "nfc_payment_foreground"; 29 public static final String SETTINGS_SECURE_NFC_PAYMENT_DEFAULT_COMPONENT = "nfc_payment_default_component"; 30 public static final String FEATURE_NFC_ANY = "android.hardware.nfc.any"; 31 32 /** 33 * @hide constant copied from {@link Settings.Global} 34 * TODO(b/274636414): Migrate to official API in Android V. 35 */ 36 public static final String SETTINGS_SATELLITE_MODE_RADIOS = "satellite_mode_radios"; 37 /** 38 * @hide constant copied from {@link Settings.Global} 39 * TODO(b/274636414): Migrate to official API in Android V. 40 */ 41 public static final String SETTINGS_SATELLITE_MODE_ENABLED = "satellite_mode_enabled"; 42 } 43