Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixes a crash hiding the suggestions bar (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and MortimerGoro committed Nov 8, 2018
1 parent fe5bacd commit 7c8b949
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import android.widget.ListView;
import android.widget.TextView;

import org.mozilla.gecko.util.ThreadUtils;
import org.mozilla.vrbrowser.R;
import org.mozilla.vrbrowser.audio.AudioEngine;

Expand Down Expand Up @@ -74,7 +75,7 @@ public void onAnimationStart(Animation animation) {

@Override
public void onAnimationEnd(Animation animation) {
SuggestionsWidget.super.hide();
ThreadUtils.postToUiThread(() -> SuggestionsWidget.super.hide());
}

@Override
Expand Down

0 comments on commit 7c8b949

Please sign in to comment.