Updated RoomTrackingLiveData patch

pull/180/head
M66B 5 years ago
parent 4df4b4baf6
commit ed6eee282b

@ -1,8 +1,6 @@
diff --git a/home/marcel/tmp/RoomTrackingLiveData.java b/app/src/main/java/androidx/room/RoomTrackingLiveData.java --- ./support/room/runtime/src/main/java/androidx/room/RoomTrackingLiveData.java 2020-03-23 17:03:46.216122318 +0100
index 8df1014a4..875beba9b 100644 +++ ./email/app/src/main/java/androidx/room/RoomTrackingLiveData.java 2020-05-25 14:21:49.137386867 +0200
--- a/home/marcel/tmp/RoomTrackingLiveData.java @@ -86,11 +86,22 @@ class RoomTrackingLiveData<T> extends Li
+++ b/app/src/main/java/androidx/room/RoomTrackingLiveData.java
@@ -86,11 +86,22 @@ class RoomTrackingLiveData<T> extends LiveData<T> {
T value = null; T value = null;
while (mInvalid.compareAndSet(true, false)) { while (mInvalid.compareAndSet(true, false)) {
computed = true; computed = true;
@ -30,7 +28,7 @@ index 8df1014a4..875beba9b 100644
} }
} }
if (computed) { if (computed) {
@@ -125,6 +136,7 @@ class RoomTrackingLiveData<T> extends LiveData<T> { @@ -125,6 +136,7 @@ class RoomTrackingLiveData<T> extends Li
} }
} }
}; };
Loading…
Cancel
Save