Open onolox opened 4 years ago
And I'm getting errors if I try to build it...
I just cloned the latest main-branch branch, init and update the submodules and run ./gradlew assembleorigRelease
> Task :browser:compileLiteReleaseJavaWithJavac
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:10: warning: [deprecation] ProgressDialog in android.app has been deprecated
import android.app.ProgressDialog;
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:56: warning: [deprecation] PictureListener in WebView has been deprecated
import android.webkit.WebView.PictureListener;
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:16: warning: [deprecation] TextSize in WebSettings has been deprecated
import android.webkit.WebSettings.TextSize;
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:26: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
import android.webkit.CookieSyncManager;
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Bookmarks.java:31: warning: [deprecation] WebIconDatabase in android.webkit has been deprecated
import android.webkit.WebIconDatabase;
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Browser.java:6: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
import android.webkit.CookieSyncManager;
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:595: warning: [deprecation] GET_SIGNATURES in PackageManager has been deprecated
libFile, PackageManager.GET_SIGNATURES);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:604: warning: [deprecation] GET_SIGNATURES in PackageManager has been deprecated
mContext.getPackageName(), PackageManager.GET_SIGNATURES);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:609: warning: [deprecation] signatures in PackageInfo has been deprecated
if (runtimePkgInfo.signatures == null || appPkgInfo.signatures == null) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:609: warning: [deprecation] signatures in PackageInfo has been deprecated
if (runtimePkgInfo.signatures == null || appPkgInfo.signatures == null) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:614: warning: [deprecation] signatures in PackageInfo has been deprecated
if (runtimePkgInfo.signatures.length != appPkgInfo.signatures.length) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:614: warning: [deprecation] signatures in PackageInfo has been deprecated
if (runtimePkgInfo.signatures.length != appPkgInfo.signatures.length) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:619: warning: [deprecation] signatures in PackageInfo has been deprecated
for (int i = 0; i < runtimePkgInfo.signatures.length; ++i) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:621: warning: [deprecation] signatures in PackageInfo has been deprecated
if (!appPkgInfo.signatures[i].equals(runtimePkgInfo.signatures[i])) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkUpdater.java:621: warning: [deprecation] signatures in PackageInfo has been deprecated
if (!appPkgInfo.signatures[i].equals(runtimePkgInfo.signatures[i])) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:239: warning: [deprecation] ProgressDialog in android.app has been deprecated
private ProgressDialog mDecompressingDialog;
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:240: warning: [deprecation] ProgressDialog in android.app has been deprecated
private ProgressDialog mDownloadingDialog;
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:277: warning: [deprecation] ProgressDialog in android.app has been deprecated
if (dialog instanceof ProgressDialog || dialog instanceof DatePickerDialog
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:314: warning: [deprecation] ProgressDialog in android.app has been deprecated
public void setProgressDialog(int id, ProgressDialog dialog) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:415: warning: [deprecation] ProgressDialog in android.app has been deprecated
public ProgressDialog getProgressDialog(int id) {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:422: warning: [deprecation] ProgressDialog in android.app has been deprecated
mDecompressingDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:431: warning: [deprecation] ProgressDialog in android.app has been deprecated
mDownloadingDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:492: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = getProgressDialog(DIALOG_DECOMPRESSING);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:499: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = getProgressDialog(DIALOG_DOWNLOADING);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:519: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = (ProgressDialog) mActiveDialog;
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:519: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = (ProgressDialog) mActiveDialog;
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:537: warning: [deprecation] ProgressDialog in android.app has been deprecated
private ProgressDialog buildProgressDialog() {
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:538: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = new ProgressDialog(mContext);
^
SmartYouTubeTV/browser/src/main/java/org/xwalk/core/MyXWalkDialogManager.java:538: warning: [deprecation] ProgressDialog in android.app has been deprecated
ProgressDialog dialog = new ProgressDialog(mContext);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/AutologinBar.java:83: warning: [deprecation] Theme_Holo_Light in style has been deprecated
android.R.style.Theme_Holo_Light);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:68: warning: [deprecation] PictureListener in WebView has been deprecated
public class Tab implements PictureListener {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:414: warning: [deprecation] onNewPicture(WebView,Picture) in PictureListener has been deprecated
public void onNewPicture(WebView view, Picture picture) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:244: warning: [deprecation] setPictureListener(PictureListener) in WebView has been deprecated
mMainView.setPictureListener(null);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:266: warning: [deprecation] setPictureListener(PictureListener) in WebView has been deprecated
mMainView.setPictureListener(this);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:960: warning: [deprecation] onReceivedError(WebView,int,String,String) in WebViewClient has been deprecated
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1046: warning: [deprecation] shouldOverrideUrlLoading(WebView,String) in WebViewClient has been deprecated
public boolean shouldOverrideUrlLoading(WebView view, String url) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1058: warning: [deprecation] shouldInterceptRequest(WebView,String) in WebViewClient has been deprecated
public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1065: warning: [deprecation] shouldInterceptRequest(WebView,String) in WebViewClient has been deprecated
return super.shouldInterceptRequest(view, url);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1255: warning: [deprecation] onShowCustomView(View,int,CustomViewCallback) in WebChromeClient has been deprecated
public void onShowCustomView(View view, int requestedOrientation,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1278: warning: [deprecation] onExceededDatabaseQuota(String,String,long,long,long,QuotaUpdater) in WebChromeClient has been deprecated
public void onExceededDatabaseQuota(String url,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1280: warning: [deprecation] QuotaUpdater in WebStorage has been deprecated
long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1298: warning: [deprecation] onReachedMaxAppCacheSize(long,long,QuotaUpdater) in WebChromeClient has been deprecated
public void onReachedMaxAppCacheSize(long spaceNeeded,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1299: warning: [deprecation] QuotaUpdater in WebStorage has been deprecated
long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1465: warning: [deprecation] shouldOverrideUrlLoading(WebView,String) in WebViewClient has been deprecated
public boolean shouldOverrideUrlLoading(WebView view, String url) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1466: warning: [deprecation] shouldOverrideUrlLoading(WebView,String) in WebViewClient has been deprecated
return mClient.shouldOverrideUrlLoading(view, url);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1489: warning: [deprecation] onReceivedError(WebView,int,String,String) in WebViewClient has been deprecated
public void onReceivedError(WebView view, int errorCode,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Tab.java:1491: warning: [deprecation] onReceivedError(WebView,int,String,String) in WebViewClient has been deprecated
mClient.onReceivedError(view, errorCode, description, failingUrl);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:381: warning: [deprecation] setPluginState(PluginState) in WebSettings has been deprecated
settings.setPluginState(getPluginState());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:383: warning: [deprecation] setSavePassword(boolean) in WebSettings has been deprecated
settings.setSavePassword(rememberPasswords());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:392: warning: [deprecation] setDefaultZoom(ZoomDensity) in WebSettings has been deprecated
settings.setDefaultZoom(getDefaultZoom());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:413: warning: [deprecation] setSaveFormData(boolean) in WebSettings has been deprecated
settings.setSaveFormData(getSaveFormData());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:414: warning: [deprecation] setSavePassword(boolean) in WebSettings has been deprecated
settings.setSavePassword(getSavePassword());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:431: warning: [deprecation] setEnableSmoothTransition(boolean) in WebSettings has been deprecated
settings.setEnableSmoothTransition(true);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:439: warning: [deprecation] setAppCacheMaxSize(long) in WebSettings has been deprecated
settings.setAppCacheMaxSize(getWebStorageSizeManager().getAppCacheMaxSize());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:441: warning: [deprecation] setDatabasePath(String) in WebSettings has been deprecated
settings.setDatabasePath(getDatabasePath());
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:541: warning: [deprecation] getType() in NetworkInfo has been deprecated
switch (ni.getType()) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:542: warning: [deprecation] TYPE_WIFI in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_WIFI:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:543: warning: [deprecation] TYPE_ETHERNET in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_ETHERNET:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:544: warning: [deprecation] TYPE_BLUETOOTH in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_BLUETOOTH:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:548: warning: [deprecation] TYPE_MOBILE in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:549: warning: [deprecation] TYPE_MOBILE_DUN in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_DUN:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:550: warning: [deprecation] TYPE_MOBILE_MMS in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_MMS:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:551: warning: [deprecation] TYPE_MOBILE_SUPL in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_SUPL:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BrowserSettings.java:552: warning: [deprecation] TYPE_WIMAX in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_WIMAX:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:856: warning: [deprecation] setText(CharSequence) in ClipboardManager has been deprecated
cm.setText(text);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:901: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
CookieSyncManager.getInstance().stopSync();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:901: warning: [deprecation] stopSync() in CookieSyncManager has been deprecated
CookieSyncManager.getInstance().stopSync();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:941: warning: [deprecation] CookieSyncManager in android.webkit has been deprecated
CookieSyncManager.getInstance().startSync();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:941: warning: [deprecation] startSync() in CookieSyncManager has been deprecated
CookieSyncManager.getInstance().startSync();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Controller.java:955: warning: [deprecation] shouldOverrideUrlLoading(WebView,String) in WebViewClient has been deprecated
if (!((BrowserWebView) view).getWebViewClient().
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:123: warning: [deprecation] getAvailableBlocks() in StatFs has been deprecated
return (long) (mFs.getAvailableBlocks()) * mFs.getBlockSize();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:123: warning: [deprecation] getBlockSize() in StatFs has been deprecated
return (long) (mFs.getAvailableBlocks()) * mFs.getBlockSize();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:127: warning: [deprecation] getBlockCount() in StatFs has been deprecated
return (long) (mFs.getBlockCount()) * mFs.getBlockSize();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:127: warning: [deprecation] getBlockSize() in StatFs has been deprecated
return (long) (mFs.getBlockCount()) * mFs.getBlockSize();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:205: warning: [deprecation] QuotaUpdater in WebStorage has been deprecated
WebStorage.QuotaUpdater quotaUpdater) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/WebStorageSizeManager.java:280: warning: [deprecation] QuotaUpdater in WebStorage has been deprecated
public void onReachedMaxAppCacheSize(long spaceNeeded, long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/NetworkStateHandler.java:33: warning: [deprecation] isAvailable() in NetworkInfo has been deprecated
mIsNetworkUp = info.isAvailable();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/NetworkStateHandler.java:40: warning: [deprecation] CONNECTIVITY_ACTION in ConnectivityManager has been deprecated
mNetworkStateChangedFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/NetworkStateHandler.java:44: warning: [deprecation] CONNECTIVITY_ACTION in ConnectivityManager has been deprecated
if (intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/NetworkStateHandler.java:45: warning: [deprecation] EXTRA_NETWORK_INFO in ConnectivityManager has been deprecated
NetworkInfo info = intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/NetworkStateHandler.java:47: warning: [deprecation] getTypeName() in NetworkInfo has been deprecated
String typeName = info.getTypeName();
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:64: warning: [deprecation] getType() in NetworkInfo has been deprecated
switch (ni.getType()) {
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:65: warning: [deprecation] TYPE_MOBILE in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:66: warning: [deprecation] TYPE_MOBILE_DUN in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_DUN:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:67: warning: [deprecation] TYPE_MOBILE_MMS in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_MMS:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:68: warning: [deprecation] TYPE_MOBILE_SUPL in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_SUPL:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:69: warning: [deprecation] TYPE_MOBILE_HIPRI in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_MOBILE_HIPRI:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:70: warning: [deprecation] TYPE_WIMAX in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_WIMAX: // separate case for this?
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:72: warning: [deprecation] TYPE_WIFI in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_WIFI:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:73: warning: [deprecation] TYPE_ETHERNET in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_ETHERNET:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/PreloadRequestReceiver.java:74: warning: [deprecation] TYPE_BLUETOOTH in ConnectivityManager has been deprecated
case ConnectivityManager.TYPE_BLUETOOTH:
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/Bookmarks.java:118: warning: [deprecation] WebIconDatabase in android.webkit has been deprecated
WebIconDatabase.getInstance().releaseIconForPageUrl(url);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/helpers/DeviceUtils.java:15: warning: [deprecation] SCREEN_BRIGHT_WAKE_LOCK in PowerManager has been deprecated
PowerManager.SCREEN_BRIGHT_WAKE_LOCK,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/XLargeUi.java:51: warning: [deprecation] NAVIGATION_MODE_STANDARD in ActionBar has been deprecated
mActionBar.setNavigationMode(androidx.appcompat.app.ActionBar.NAVIGATION_MODE_STANDARD);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/XLargeUi.java:51: warning: [deprecation] setNavigationMode(int) in ActionBar has been deprecated
mActionBar.setNavigationMode(androidx.appcompat.app.ActionBar.NAVIGATION_MODE_STANDARD);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BookmarkUtils.java:59: warning: [deprecation] getColor(int) in Resources has been deprecated
.getColor(R.color.bookmarkListFaviconBackground));
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BookmarkUtils.java:102: warning: [deprecation] EXTRA_SHORTCUT_INTENT in Intent has been deprecated
i.putExtra(Intent.EXTRA_SHORTCUT_INTENT, shortcutIntent);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BookmarkUtils.java:103: warning: [deprecation] EXTRA_SHORTCUT_NAME in Intent has been deprecated
i.putExtra(Intent.EXTRA_SHORTCUT_NAME, title);
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BookmarkUtils.java:104: warning: [deprecation] EXTRA_SHORTCUT_ICON in Intent has been deprecated
i.putExtra(Intent.EXTRA_SHORTCUT_ICON, createIcon(context, touchIcon, favicon,
^
SmartYouTubeTV/browser/src/main/java/com/liskovsoft/browser/BookmarkUtils.java:124: warning: [deprecation] getDrawableForDensity(int,int) in Resources has been deprecated
Drawable drawable = context.getResources().getDrawableForDensity(
^
Note: Some input files additionally use or override a deprecated API.
100 warnings
> Task :exoplayeractivity:compileLiteReleaseJavaWithJavac FAILED
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:9: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:37: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:43: warning: [deprecation] AdaptiveMediaSourceEventListener in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:44: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
Note: [1] Wrote GeneratedAppGlideModule with: []
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:9: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:37: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:43: warning: [deprecation] AdaptiveMediaSourceEventListener in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:44: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:9: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:37: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:43: warning: [deprecation] AdaptiveMediaSourceEventListener in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:44: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:9: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:37: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:43: warning: [deprecation] AdaptiveMediaSourceEventListener in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.AdaptiveMediaSourceEventListener;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:44: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
import com.google.android.exoplayer2.source.ExtractorMediaSource;
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/state/TrackSelectionManager.java:23: warning: [deprecation] Factory in FixedTrackSelection has been deprecated
private static final TrackSelection.Factory FIXED_FACTORY = new FixedTrackSelection.Factory();
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:40: warning: [deprecation] DefaultBandwidthMeter() in DefaultBandwidthMeter has been deprecated
private static final DefaultBandwidthMeter BANDWIDTH_METER = new DefaultBandwidthMeter();
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:131: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:131: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/MediaSourceFactory.java:131: warning: [deprecation] Factory in ExtractorMediaSource has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/autoframerate/AutoFrameRateManager.java:12: error: AutoFrameRateManager is not abstract and does not override abstract method onModeStart(Mode) in AutoFrameRateListener
public class AutoFrameRateManager implements PlayerEventListener, AutoFrameRateListener {
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/common/autoframerate/AutoFrameRateManager.java:128: error: method does not override or implement a method from a supertype
@Override
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:84: warning: [deprecation] DefaultBandwidthMeter() in DefaultBandwidthMeter has been deprecated
private static final DefaultBandwidthMeter BANDWIDTH_METER = new DefaultBandwidthMeter();
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:230: warning: [deprecation] setAudioDebugListener(AudioRendererEventListener) in SimpleExoPlayer has been deprecated
mPlayer.setAudioDebugListener(mEventLogger);
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:231: warning: [deprecation] setVideoDebugListener(VideoRendererEventListener) in SimpleExoPlayer has been deprecated
mPlayer.setVideoDebugListener(mEventLogger);
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:459: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:459: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:459: warning: [deprecation] Factory in ExtractorMediaSource has been deprecated
ExtractorMediaSource extractorSource = new ExtractorMediaSource.Factory(mMediaDataSourceFactory)
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/PlayerCoreFragment.java:627: warning: [deprecation] length in MappedTrackInfo has been deprecated
for (int i = 0; i < mappedTrackInfo.length; i++) {
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/support/PlayerInitializer.java:113: warning: [deprecation] fromHtml(String) in Html has been deprecated
return Html.fromHtml(num).toString();
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/widgets/ToggleButtonBase.java:155: warning: [deprecation] getDrawable(int) in Resources has been deprecated
setBackgroundDrawable(getResources().getDrawable(R.color.transparent));
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/widgets/ToggleButtonBase.java:155: warning: [deprecation] setBackgroundDrawable(Drawable) in View has been deprecated
setBackgroundDrawable(getResources().getDrawable(R.color.transparent));
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:63: warning: [deprecation] AdaptiveMediaSourceEventListener in com.google.android.exoplayer2.source has been deprecated
AdaptiveMediaSourceEventListener, ExtractorMediaSource.EventListener, DefaultDrmSessionEventListener, MetadataOutput /*MetadataRenderer.Output*/ {
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:63: warning: [deprecation] ExtractorMediaSource in com.google.android.exoplayer2.source has been deprecated
AdaptiveMediaSourceEventListener, ExtractorMediaSource.EventListener, DefaultDrmSessionEventListener, MetadataOutput /*MetadataRenderer.Output*/ {
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:63: warning: [deprecation] EventListener in ExtractorMediaSource has been deprecated
AdaptiveMediaSourceEventListener, ExtractorMediaSource.EventListener, DefaultDrmSessionEventListener, MetadataOutput /*MetadataRenderer.Output*/ {
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/MyEventLogger.java:177: warning: [deprecation] getTrackFormatSupport(int,int,int) in MappedTrackInfo has been deprecated
String formatSupport = getFormatSupportString(mappedTrackInfo.getTrackFormatSupport(rendererIndex, groupIndex, trackIndex));
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/player/TrackSelectionHelper.java:61: warning: [deprecation] Factory in FixedTrackSelection has been deprecated
private static final TrackSelection.Factory FIXED_FACTORY = new FixedTrackSelection.Factory();
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/widgets/PreciseTimeBar.java:410: warning: [deprecation] addAction(int) in AccessibilityNodeInfo has been deprecated
info.addAction(AccessibilityNodeInfo.ACTION_SCROLL_FORWARD);
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/widgets/PreciseTimeBar.java:411: warning: [deprecation] addAction(int) in AccessibilityNodeInfo has been deprecated
info.addAction(AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD);
^
SmartYouTubeTV/exoplayeractivity/src/main/java/com/liskovsoft/smartyoutubetv/flavors/exoplayer/widgets/PreciseTimeBar.java:486: warning: [deprecation] invalidate(Rect) in View has been deprecated
invalidate(seekBounds);
^
2 errors
39 warnings
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':exoplayeractivity:compileLiteReleaseJavaWithJavac'.
Hi, I think this project needs some global guidance on the ways it's done for new devs to contribuite to it.
I know android, but this project is ratther complex, and confusing :-).
The project has lost dependecies/missing files too... One page of readme will be sufficient.