@Override public boolean onTouchEvent(MotionEvent event) { Log.d("TEST", "onTouchEvent Abstract"); if (TypeWriteUtils.changeInputBoradState(getCurActivity())) { return false; } return super.onTouchEvent(event); }
@Override public void exitActivity() { L.d(TAG, "Function is exitActivity"); // 取消注册EventBus if (isRegisterEventBus) { L.i(TAG, "----------取消注册EventBus----------"); EventBus.getDefault().unregister(this); } // 销毁Activity绑定的ProgressDialog if (progressDialog != null && progressDialog.isShowing()) { progressDialog.dismiss(); } try { TypeWriteUtils.changeInputBoradState(getCurActivity()); } catch (Exception e) { e.printStackTrace(); } ActivityHelper.getActivityHelper().finishActivity(this); }