From f7d8ad2a8ac1e3c0f88d72208fb021115b36fb7c Mon Sep 17 00:00:00 2001 From: hkuang Date: Thu, 15 Apr 2021 09:21:39 -0700 Subject: [PATCH] transcoding: Actually hide the isSlowMotionSupported api. Bug: 169965769 Test: atest CtsMediaTranscodingTestCases:MediaTranscodeManagerTest Change-Id: Ie0ac848516cc3fbd22e86c66a8e6b00c0a3606d3 --- apex/media/framework/api/current.txt | 1 - .../android/media/ApplicationMediaCapabilities.java | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apex/media/framework/api/current.txt b/apex/media/framework/api/current.txt index bebf0190191b..b7d7ed866c89 100644 --- a/apex/media/framework/api/current.txt +++ b/apex/media/framework/api/current.txt @@ -10,7 +10,6 @@ package android.media { method @NonNull public java.util.List getUnsupportedVideoMimeTypes(); method public boolean isFormatSpecified(@NonNull String); method public boolean isHdrTypeSupported(@NonNull String); - method public boolean isSlowMotionSupported(); method public boolean isVideoMimeTypeSupported(@NonNull String); method public void writeToParcel(@NonNull android.os.Parcel, int); field @NonNull public static final android.os.Parcelable.Creator CREATOR; diff --git a/apex/media/framework/java/android/media/ApplicationMediaCapabilities.java b/apex/media/framework/java/android/media/ApplicationMediaCapabilities.java index 3f30d3ea880e..97fa0eca0862 100644 --- a/apex/media/framework/java/android/media/ApplicationMediaCapabilities.java +++ b/apex/media/framework/java/android/media/ApplicationMediaCapabilities.java @@ -242,7 +242,7 @@ public final class ApplicationMediaCapabilities implements Parcelable { } }; - /* + /** * Query the video codec mime types supported by the application. * @return List of supported video codec mime types. The list will be empty if there are none. */ @@ -251,7 +251,7 @@ public final class ApplicationMediaCapabilities implements Parcelable { return new ArrayList<>(mSupportedVideoMimeTypes); } - /* + /** * Query the video codec mime types that are not supported by the application. * @return List of unsupported video codec mime types. The list will be empty if there are none. */ @@ -260,7 +260,7 @@ public final class ApplicationMediaCapabilities implements Parcelable { return new ArrayList<>(mUnsupportedVideoMimeTypes); } - /* + /** * Query all hdr types that are supported by the application. * @return List of supported hdr types. The list will be empty if there are none. */ @@ -269,7 +269,7 @@ public final class ApplicationMediaCapabilities implements Parcelable { return new ArrayList<>(mSupportedHdrTypes); } - /* + /** * Query all hdr types that are not supported by the application. * @return List of unsupported hdr types. The list will be empty if there are none. */ @@ -278,7 +278,7 @@ public final class ApplicationMediaCapabilities implements Parcelable { return new ArrayList<>(mUnsupportedHdrTypes); } - /* + /** * Whether handling of slow-motion video is supported * @hide */