diff options
Diffstat (limited to 'java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java')
-rw-r--r-- | java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java b/java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java index d8c00ed91..8611e8022 100644 --- a/java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java +++ b/java/com/android/voicemail/impl/transcribe/TranscriptionUtils.java @@ -33,8 +33,6 @@ import java.security.NoSuchAlgorithmException; public class TranscriptionUtils { static final String AMR_PREFIX = "#!AMR\n"; - // Uses try-with-resource - @TargetApi(android.os.Build.VERSION_CODES.N) static ByteString getAudioData(Context context, Uri voicemailUri) { try (InputStream in = context.getContentResolver().openInputStream(voicemailUri)) { return ByteString.readFrom(in); |