diff --git a/constants.gradle b/constants.gradle index c06858e244..1a7840588f 100644 --- a/constants.gradle +++ b/constants.gradle @@ -21,7 +21,7 @@ project.ext { compileSdkVersion = 29 dexmakerVersion = '2.21.0' junitVersion = '4.13-rc-2' - guavaVersion = '23.5-android' + guavaVersion = '28.2-android' mockitoVersion = '2.25.0' robolectricVersion = '4.3.1' checkerframeworkVersion = '2.5.0' diff --git a/library/core/src/main/java/com/google/android/exoplayer2/database/VersionTable.java b/library/core/src/main/java/com/google/android/exoplayer2/database/VersionTable.java index be367d2f22..f1d269ddbf 100644 --- a/library/core/src/main/java/com/google/android/exoplayer2/database/VersionTable.java +++ b/library/core/src/main/java/com/google/android/exoplayer2/database/VersionTable.java @@ -40,6 +40,8 @@ public final class VersionTable { public static final int FEATURE_CACHE_CONTENT_METADATA = 1; /** Version of tables used for cache file metadata. */ public static final int FEATURE_CACHE_FILE_METADATA = 2; + /** Version of tables used from external features. */ + public static final int FEATURE_EXTERNAL = 1000; private static final String TABLE_NAME = DatabaseProvider.TABLE_PREFIX + "Versions"; @@ -67,7 +69,12 @@ public final class VersionTable { @Documented @Retention(RetentionPolicy.SOURCE) - @IntDef({FEATURE_OFFLINE, FEATURE_CACHE_CONTENT_METADATA, FEATURE_CACHE_FILE_METADATA}) + @IntDef({ + FEATURE_OFFLINE, + FEATURE_CACHE_CONTENT_METADATA, + FEATURE_CACHE_FILE_METADATA, + FEATURE_EXTERNAL + }) private @interface Feature {} private VersionTable() {}