|
|
@ -90,7 +90,6 @@ import android.view.MenuItem;
|
|
|
|
import android.view.MotionEvent;
|
|
|
|
import android.view.MotionEvent;
|
|
|
|
import android.view.View;
|
|
|
|
import android.view.View;
|
|
|
|
import android.view.ViewGroup;
|
|
|
|
import android.view.ViewGroup;
|
|
|
|
import android.view.Window;
|
|
|
|
|
|
|
|
import android.view.inputmethod.EditorInfo;
|
|
|
|
import android.view.inputmethod.EditorInfo;
|
|
|
|
import android.webkit.MimeTypeMap;
|
|
|
|
import android.webkit.MimeTypeMap;
|
|
|
|
import android.widget.AdapterView;
|
|
|
|
import android.widget.AdapterView;
|
|
|
@ -7416,11 +7415,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
} else if (action == R.id.action_send) {
|
|
|
|
} else if (action == R.id.action_send) {
|
|
|
|
state = State.NONE;
|
|
|
|
state = State.NONE;
|
|
|
|
FragmentActivity activity = getActivity();
|
|
|
|
view.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
|
|
|
|
Window window = (activity == null ? null : activity.getWindow());
|
|
|
|
|
|
|
|
View decor = (window == null ? null : window.getDecorView());
|
|
|
|
|
|
|
|
if (decor != null)
|
|
|
|
|
|
|
|
decor.performHapticFeedback(HapticFeedbackConstants.CONFIRM);
|
|
|
|
|
|
|
|
finish();
|
|
|
|
finish();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|