mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
backout 9f48d082d7d0 (Bug 808408) on suspicion of robocop failure
This commit is contained in:
parent
7f7fca60e5
commit
5c2fb9142d
@ -127,7 +127,7 @@ public class AwesomeBarTabs extends TabHost {
|
||||
|
||||
mListTouchListener = new View.OnTouchListener() {
|
||||
public boolean onTouch(View view, MotionEvent event) {
|
||||
if ((event.getAction() & MotionEvent.ACTION_MASK) == MotionEvent.ACTION_DOWN)
|
||||
if (event.getAction() == MotionEvent.ACTION_DOWN)
|
||||
hideSoftInput(view);
|
||||
return false;
|
||||
}
|
||||
@ -153,12 +153,10 @@ public class AwesomeBarTabs extends TabHost {
|
||||
public void onPageSelected(int position) {
|
||||
tabWidget.setCurrentTab(position);
|
||||
styleSelectedTab();
|
||||
hideSoftInput(mViewPager);
|
||||
}
|
||||
});
|
||||
|
||||
for (int i = 0; i < mTabs.length; i++) {
|
||||
mTabs[i].setListTouchListener(mListTouchListener);
|
||||
addAwesomeTab(mTabs[i].getTag(),
|
||||
mTabs[i].getTitleStringId(),
|
||||
i);
|
||||
|
Loading…
Reference in New Issue
Block a user