Replace the android support annotation library with androidx's one.
This change does not affect downstream dependencies as androidx.annotation is fully compatible with android.support.annotation. Bug: webrtc:11962 Change-Id: I714b473df8d0fee8000ddf3a9beca7c5613db5ff Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226881 Commit-Queue: Xavier Lepaul <xalep@webrtc.org> Reviewed-by: Xavier Lepaul <xalep@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34839}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
e9716de2cd
commit
02334e07c5
@ -21,7 +21,7 @@ if (is_android) {
|
||||
"//sdk/android:surfaceviewrenderer_java",
|
||||
"//sdk/android:video_api_java",
|
||||
"//sdk/android:video_java",
|
||||
"//third_party/android_deps:com_android_support_support_annotations_java",
|
||||
"//third_party/androidx:androidx_annotation_annotation_java",
|
||||
]
|
||||
|
||||
shared_libraries = [ ":examples_androidnativeapi_jni" ]
|
||||
|
||||
@ -13,8 +13,8 @@ package org.webrtc.examples.androidnativeapi;
|
||||
import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.support.annotation.Nullable;
|
||||
import android.widget.Button;
|
||||
import androidx.annotation.Nullable;
|
||||
import org.webrtc.Camera1Enumerator;
|
||||
import org.webrtc.Camera2Enumerator;
|
||||
import org.webrtc.CameraEnumerator;
|
||||
|
||||
Reference in New Issue
Block a user