mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Simple migration to common
Migrate all classes that are simple to move to common. #player-to-common PiperOrigin-RevId: 345412080
This commit is contained in:
parent
ebe54113a9
commit
09509c2390
13 changed files with 2 additions and 39 deletions
|
|
@ -15,9 +15,8 @@
|
|||
*/
|
||||
package com.google.android.exoplayer2.device;
|
||||
|
||||
import com.google.android.exoplayer2.Player;
|
||||
|
||||
/** A listener for changes of {@link Player.DeviceComponent}. */
|
||||
// TODO(b/172315872) change back to @link after player migration to common.
|
||||
/** A listener for changes of {@code Player.DeviceComponent}. */
|
||||
public interface DeviceListener {
|
||||
|
||||
/** Called when the device information changes. */
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
/*
|
||||
* 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 {}
|
||||
Loading…
Reference in a new issue