mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-02-20 08:08:04 -05:00
Make pmd happy
This commit is contained in:
committed by
Hans-Christoph Steiner
parent
d30695bf44
commit
ff5d26e79f
@@ -1,20 +1,12 @@
|
||||
package org.fdroid.fdroid;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.nfc.NfcAdapter;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
@Deprecated
|
||||
public class NfcHelper {
|
||||
|
||||
private static final String TAG = "NfcHelper";
|
||||
|
||||
private static NfcAdapter getAdapter(Context context) {
|
||||
return NfcAdapter.getDefaultAdapter(context.getApplicationContext());
|
||||
}
|
||||
|
||||
public static boolean setPushMessage(AppCompatActivity activity, Uri toShare) {
|
||||
// removed in Android 14: https://www.xda-developers.com/android-beam-permanent-removal-android-14/
|
||||
// adapter.setNdefPushMessage();
|
||||
|
||||
Reference in New Issue
Block a user