mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-10 02:53:46 +02:00
Updated AndroidX
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user