diff --git a/app/build.gradle b/app/build.gradle index 03abab7cbb..f9b0bc1971 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -252,7 +252,7 @@ dependencies { def lifecycle_version = "2.3.0" def lifecycle_extensions_version = "2.2.0" def sqlite_version = "2.1.0" - def room_version = "2.3.0-beta01" + def room_version = "2.3.0-beta02" def paging_version = "2.1.2" // 3.0.0-alpha11 def preference_version = "1.1.1" def work_version = "2.5.0" diff --git a/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java b/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java index ef5141681f..0e4b5edf64 100644 --- a/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java +++ b/app/src/main/java/androidx/room/paging/LimitOffsetDataSource.java @@ -20,7 +20,6 @@ import android.database.Cursor; import androidx.annotation.NonNull; import androidx.annotation.RestrictTo; -import androidx.paging.PositionalDataSource; import androidx.room.InvalidationTracker; import androidx.room.RoomDatabase; import androidx.room.RoomSQLiteQuery; @@ -43,8 +42,9 @@ import java.util.Set; * * @hide */ +@SuppressWarnings("deprecation") @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX) -public abstract class LimitOffsetDataSource extends PositionalDataSource { +public abstract class LimitOffsetDataSource extends androidx.paging.PositionalDataSource { private final RoomSQLiteQuery mSourceQuery; private final String mCountQuery; private final String mLimitOffsetQuery;