|
@@ -179,14 +179,16 @@ public class ConsentActivity extends AppCompatActivity {
|
|
|
init();
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public boolean onTouchEvent(MotionEvent event) {
|
|
|
- Log.e(TAG, "event -- > " + event);
|
|
|
- InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
|
|
|
- imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);
|
|
|
-
|
|
|
- return true;
|
|
|
- }
|
|
|
+// @Override
|
|
|
+// public boolean onTouchEvent(MotionEvent event) {
|
|
|
+// InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
|
|
|
+// if (getCurrentFocus() == null) {
|
|
|
+// return false;
|
|
|
+// }
|
|
|
+// imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);
|
|
|
+//
|
|
|
+// return true;
|
|
|
+// }
|
|
|
|
|
|
private void init() {
|
|
|
mActivity = this;
|