mirror of https://github.com/M66B/FairEmail.git
Updated AndroidX
This commit is contained in:
parent
97ecfeb95f
commit
a629a157f1
|
@ -224,7 +224,7 @@ dependencies {
|
||||||
|
|
||||||
def core_version = "1.3.0-alpha02"
|
def core_version = "1.3.0-alpha02"
|
||||||
def appcompat_version = "1.2.0-alpha03"
|
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 recyclerview_version = "1.2.0-alpha01"
|
||||||
def coordinatorlayout_version = "1.1.0"
|
def coordinatorlayout_version = "1.1.0"
|
||||||
def constraintlayout_version = "2.0.0-beta3"
|
def constraintlayout_version = "2.0.0-beta3"
|
||||||
|
@ -235,10 +235,10 @@ dependencies {
|
||||||
def documentfile_version = "1.0.1"
|
def documentfile_version = "1.0.1"
|
||||||
def lifecycle_version = "2.2.0"
|
def lifecycle_version = "2.2.0"
|
||||||
def sqlite_version = "2.1.0"
|
def sqlite_version = "2.1.0"
|
||||||
def room_version = "2.2.4"
|
def room_version = "2.2.5"
|
||||||
def paging_version = "2.1.1"
|
def paging_version = "2.1.2"
|
||||||
def preference_version = "1.1.0"
|
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 exif_version = "1.3.0-alpha01"
|
||||||
def biometric_version = "1.0.1"
|
def biometric_version = "1.0.1"
|
||||||
def textclassifier_version = "1.0.0-alpha03"
|
def textclassifier_version = "1.0.0-alpha03"
|
||||||
|
|
|
@ -83,7 +83,6 @@ public class InvalidationTracker {
|
||||||
+ " WHERE " + INVALIDATED_COLUMN_NAME + " = 1;";
|
+ " WHERE " + INVALIDATED_COLUMN_NAME + " = 1;";
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@VisibleForTesting
|
|
||||||
final HashMap<String, Integer> mTableIdLookup;
|
final HashMap<String, Integer> mTableIdLookup;
|
||||||
final String[] mTableNames;
|
final String[] mTableNames;
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,9 @@ class MultiInstanceInvalidationClient {
|
||||||
mName = name;
|
mName = name;
|
||||||
mInvalidationTracker = invalidationTracker;
|
mInvalidationTracker = invalidationTracker;
|
||||||
mExecutor = executor;
|
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
|
@Override
|
||||||
public void onInvalidated(@NonNull Set<String> tables) {
|
public void onInvalidated(@NonNull Set<String> tables) {
|
||||||
if (mStopped.get()) {
|
if (mStopped.get()) {
|
||||||
|
|
Loading…
Reference in New Issue