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

Commit 8e5ba659 authored by Jeff Hamilton's avatar Jeff Hamilton Committed by Android Git Automerger
Browse files

am 7a9f17c3: am 3ce86481: Remove canBeFormatted().

* commit '7a9f17c3':
  Remove canBeFormatted().
parents 6cba61ee 7a9f17c3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -140,6 +140,7 @@ public final class Ndef extends BasicTagTechnology {
            return null;
        }
    }

    /**
     * Overwrite the primary NDEF message
     * @throws IOException
+0 −10
Original line number Diff line number Diff line
@@ -44,16 +44,6 @@ public final class NdefFormatable extends BasicTagTechnology {
        super(adapter, tag, tech);
    }

    /**
     * Returns whether a tag can be formatted with {@link
     * NdefFormatable#format(NdefMessage)}
     */
    public boolean canBeFormatted() throws IOException {
        checkConnected();

        throw new UnsupportedOperationException();
    }

    /**
     * Formats a tag as NDEF, if possible. You may supply a first
     * NdefMessage to be written on the tag.