Updated AndroidX

This commit is contained in:
M66B
2019-10-11 14:12:34 +02:00
parent 7135ee7e0b
commit 1e9a77e249
4 changed files with 18 additions and 47 deletions

View File

@@ -37,7 +37,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
* @param <T> The type of the live data
* @hide internal
*/
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP_PREFIX)
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public abstract class ComputableLiveData<T> {
@SuppressWarnings("WeakerAccess") /* synthetic access */
final Executor mExecutor;
@@ -152,8 +152,7 @@ public abstract class ComputableLiveData<T> {
ArchTaskExecutor.getInstance().executeOnMainThread(mInvalidationRunnable);
}
// TODO https://issuetracker.google.com/issues/112197238
@SuppressWarnings({"WeakerAccess", "UnknownNullness"})
@SuppressWarnings("WeakerAccess")
@WorkerThread
protected abstract T compute();
}