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

Commit e6460224 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

Merge "Revert "Call dispatchFinishTemporaryDetach before returning a transient view"" into mnc-dev

parents 3a76780c 5987e553
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -2353,10 +2353,8 @@ 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;
        }

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

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