Commit 09509c23 by krocard Committed by Oliver Woodman

Simple migration to common

Migrate all classes that are simple to move to
common.

#player-to-common

PiperOrigin-RevId: 345412080
parent ebe54113
Showing with 2 additions and 39 deletions
...@@ -15,9 +15,8 @@ ...@@ -15,9 +15,8 @@
*/ */
package com.google.android.exoplayer2.device; package com.google.android.exoplayer2.device;
import com.google.android.exoplayer2.Player; // TODO(b/172315872) change back to @link after player migration to common.
/** A listener for changes of {@code Player.DeviceComponent}. */
/** A listener for changes of {@link Player.DeviceComponent}. */
public interface DeviceListener { public interface DeviceListener {
/** Called when the device information changes. */ /** Called when the device information changes. */
......
/*
* Copyright (C) 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.android.exoplayer2.util;
import static java.lang.annotation.ElementType.CONSTRUCTOR;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.PACKAGE;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.CLASS;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Annotation to mark an API as a candidate for being part of a stable subset of the API.
*
* <p>Note: this is experimental, and no guarantees are made about the stability of APIs even if
* they are marked with this annotation.
*/
@Retention(CLASS)
@Target({TYPE, METHOD, CONSTRUCTOR, FIELD, PACKAGE})
public @interface StableApiCandidate {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment