Updated AndroidX

pull/177/head
M66B 5 years ago
parent 97ecfeb95f
commit a629a157f1

@ -224,7 +224,7 @@ dependencies {
def core_version = "1.3.0-alpha02"
def appcompat_version = "1.2.0-alpha03"
def fragment_version = "1.3.0-alpha01"
def fragment_version = "1.3.0-alpha02"
def recyclerview_version = "1.2.0-alpha01"
def coordinatorlayout_version = "1.1.0"
def constraintlayout_version = "2.0.0-beta3"
@ -235,10 +235,10 @@ dependencies {
def documentfile_version = "1.0.1"
def lifecycle_version = "2.2.0"
def sqlite_version = "2.1.0"
def room_version = "2.2.4"
def paging_version = "2.1.1"
def room_version = "2.2.5"
def paging_version = "2.1.2"
def preference_version = "1.1.0"
def work_version = "2.3.3"
def work_version = "2.3.4"
def exif_version = "1.3.0-alpha01"
def biometric_version = "1.0.1"
def textclassifier_version = "1.0.0-alpha03"

@ -83,7 +83,6 @@ public class InvalidationTracker {
+ " WHERE " + INVALIDATED_COLUMN_NAME + " = 1;";
@NonNull
@VisibleForTesting
final HashMap<String, Integer> mTableIdLookup;
final String[] mTableNames;

@ -167,7 +167,9 @@ class MultiInstanceInvalidationClient {
mName = name;
mInvalidationTracker = invalidationTracker;
mExecutor = executor;
mObserver = new InvalidationTracker.Observer(invalidationTracker.mTableNames) {
// Use all tables names for observer.
final Set<String> tableNames = invalidationTracker.mTableIdLookup.keySet();
mObserver = new InvalidationTracker.Observer(tableNames.toArray(new String[0])) {
@Override
public void onInvalidated(@NonNull Set<String> tables) {
if (mStopped.get()) {

Loading…
Cancel
Save