1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Revert "Prevent crash"

This reverts commit f327dbabe6.
This commit is contained in:
M66B 2024-01-18 13:03:50 +01:00
parent f327dbabe6
commit a34290fb3f
2 changed files with 0 additions and 19 deletions

View file

@ -4659,10 +4659,6 @@ public class RecyclerView extends ViewGroup implements ScrollingView,
*/
private void dispatchLayoutStep3() {
mState.assertLayoutStep(State.STEP_ANIMATIONS);
if ((State.STEP_ANIMATIONS & mState.mLayoutStep) == 0) {
eu.faircode.email.Log.w(new Throwable("RecyclerView.dispatchLayoutStep3"));
return;
}
startInterceptRequestLayout();
onEnterLayoutOrScroll();
mState.mLayoutStep = State.STEP_START;

View file

@ -1,15 +0,0 @@
diff --git a/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java b/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java
index 9265d56d01..d02792973f 100644
--- a/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java
+++ b/app/src/main/java/androidx/recyclerview/widget/RecyclerView.java
@@ -4659,6 +4659,10 @@ public class RecyclerView extends ViewGroup implements ScrollingView,
*/
private void dispatchLayoutStep3() {
mState.assertLayoutStep(State.STEP_ANIMATIONS);
+ if ((State.STEP_ANIMATIONS & mState.mLayoutStep) == 0) {
+ eu.faircode.email.Log.w(new Throwable("RecyclerView.dispatchLayoutStep3"));
+ return;
+ }
startInterceptRequestLayout();
onEnterLayoutOrScroll();
mState.mLayoutStep = State.STEP_START;