[Android] Revert "Search animation: prevent crash"

Geoffrey Métais git at videolan.org
Thu Aug 9 17:56:12 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Aug  9 17:53:38 2018 +0200| [40f72d8745a13cff1806d1542ccb19cf79cf86da] | committer: Geoffrey Métais

Revert "Search animation: prevent crash"

This reverts commit b85a67053c014660e0c3719b68078c901c6b1a6d.

> https://code.videolan.org/videolan/vlc-android/commit/40f72d8745a13cff1806d1542ccb19cf79cf86da
---

 vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
index 54959eec6..c0cd3048d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
@@ -313,7 +313,6 @@ public abstract class MediaBrowserFragment<T extends BaseModel> extends Fragment
             cs.setVisibility(R.id.searchButton, visible ? ConstraintSet.VISIBLE : ConstraintSet.GONE);
             TransitionManager.beginDelayedTransition(cl);
             cs.applyTo(cl);
-            mSearchButtonView.requestLayout();
         } else UiTools.setViewVisibility(mSearchButtonView, visible ? View.VISIBLE : View.GONE);
     }
 }



More information about the Android mailing list