зеркало из https://github.com/mozilla/gecko-dev.git
Backing out bug 697773 due to VKB regressions
This commit is contained in:
Родитель
fc7617beb2
Коммит
4995053c81
|
@ -50,7 +50,6 @@ import android.text.Editable;
|
|||
import android.text.TextWatcher;
|
||||
import android.util.Log;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.View;
|
||||
import android.view.Window;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
|
@ -133,14 +132,6 @@ public class AwesomeBar extends Activity {
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
mText.setOnTouchListener(new View.OnTouchListener() {
|
||||
public boolean onTouch(View v, MotionEvent event) {
|
||||
if (event.getAction() == MotionEvent.ACTION_DOWN)
|
||||
mText.requestFocusFromTouch();
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -157,12 +148,6 @@ public class AwesomeBar extends Activity {
|
|||
finish();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onWindowFocusChanged(boolean hasFocus) {
|
||||
if (hasFocus)
|
||||
mText.requestFocusFromTouch();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
|
|
Загрузка…
Ссылка в новой задаче