Run UI operations on correct thread
This commit is contained in:
parent
057b4296d7
commit
e06d530528
@ -1410,8 +1410,14 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
loadUrlInCurrentView(HistoryPage.getHistoryPage(BrowserActivity.this));
|
||||
mSearch.setText("");
|
||||
final String historyPage = HistoryPage.getHistoryPage(BrowserActivity.this);
|
||||
BrowserActivity.this.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
loadUrlInCurrentView(historyPage);
|
||||
mSearch.setText("");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user