Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6b6dd84 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am bf6d50f9: Merge "Call dispatchFinishTemporaryDetach before returning a...

am bf6d50f9: Merge "Call dispatchFinishTemporaryDetach before returning a transient view" into mnc-dev

* commit 'bf6d50f9':
  Call dispatchFinishTemporaryDetach before returning a transient view
parents 7f2b9b05 bf6d50f9
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -2353,8 +2353,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
                }
            }

            // Scrap view implies temporary detachment.
            isScrap[0] = true;

            // Finish the temporary detach started in addScrapView().
            transientView.dispatchFinishTemporaryDetach();
            return transientView;
        }

@@ -2367,7 +2369,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
            } else {
                isScrap[0] = true;

                child.dispatchFinishTemporaryDetach();
                // Finish the temporary detach started in addScrapView().
                transientView.dispatchFinishTemporaryDetach();
            }
        }