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

Commit e0697622 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove VibrationXmlParser @TestApi annotations" into main

parents 3a6c9007 0deca510
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2775,12 +2775,6 @@ package android.os.vibrator.persistence {

  @FlaggedApi("android.os.vibrator.vibration_xml_apis") public final class ParsedVibration {
    ctor public ParsedVibration(@NonNull java.util.List<android.os.VibrationEffect>);
    method @FlaggedApi("android.os.vibrator.vibration_xml_apis") @Nullable public android.os.VibrationEffect resolve(@NonNull android.os.Vibrator);
  }

  @FlaggedApi("android.os.vibrator.vibration_xml_apis") public final class VibrationXmlParser {
    method @FlaggedApi("android.os.vibrator.vibration_xml_apis") @NonNull public static android.os.vibrator.persistence.ParsedVibration parse(@NonNull java.io.InputStream) throws java.io.IOException;
    method @FlaggedApi("android.os.vibrator.vibration_xml_apis") @NonNull public static android.os.VibrationEffect parseVibrationEffect(@NonNull java.io.InputStream) throws java.io.IOException;
  }

  public static final class VibrationXmlParser.ParseFailedException extends java.io.IOException {
+0 −2
Original line number Diff line number Diff line
@@ -38,7 +38,6 @@ import java.util.Objects;
 *
 * @hide
 */
@TestApi // This was used in CTS before the flag was introduced.
@SystemApi
@FlaggedApi(FLAG_VIBRATION_XML_APIS)
public final class ParsedVibration {
@@ -62,7 +61,6 @@ public final class ParsedVibration {
     *
     * @hide
     */
    @TestApi // This was used in CTS before the flag was introduced.
    @SystemApi
    @FlaggedApi(FLAG_VIBRATION_XML_APIS)
    @Nullable
+0 −3
Original line number Diff line number Diff line
@@ -121,7 +121,6 @@ import java.util.List;
 *
 * @hide
 */
@TestApi // This was used in CTS before the flag was introduced.
@SystemApi
@FlaggedApi(FLAG_VIBRATION_XML_APIS)
public final class VibrationXmlParser {
@@ -195,7 +194,6 @@ public final class VibrationXmlParser {
     *
     * @hide
     */
    @TestApi // Replacing test APIs used in CTS before the flagged system APIs was introduced.
    @SystemApi
    @FlaggedApi(FLAG_VIBRATION_XML_APIS)
    @NonNull
@@ -217,7 +215,6 @@ public final class VibrationXmlParser {
     *
     * @hide
     */
    @TestApi // Replacing test APIs used in CTS before the flagged system APIs was introduced.
    @SystemApi
    @FlaggedApi(FLAG_VIBRATION_XML_APIS)
    @NonNull