mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-12 22:40:46 -08:00
Update Android port
* java/AndroidManifest.xml.in: Prevent the Emacs activity from being overlayed by the emacsclient wrapper. * java/org/gnu/emacs/EmacsOpenActivity.java (run): Likewise. (onCreate): Set an appropriate theme on ICS and up. * java/org/gnu/emacs/EmacsWindow.java (onTouchEvent): Handle ACTION_CANCEL correctly.
This commit is contained in:
parent
7275e32d0b
commit
fc82efc1fe
3 changed files with 16 additions and 3 deletions
|
|
@ -794,7 +794,10 @@ public class EmacsWindow extends EmacsHandleObject
|
|||
|
||||
case MotionEvent.ACTION_UP:
|
||||
case MotionEvent.ACTION_POINTER_UP:
|
||||
/* Touch up event. */
|
||||
case MotionEvent.ACTION_CANCEL:
|
||||
/* Touch up event. Android documentation says ACTION_CANCEL
|
||||
should be treated as more or less equivalent to ACTION_UP,
|
||||
so that is what is done here. */
|
||||
EmacsNative.sendTouchUp (this.handle, (int) event.getX (index),
|
||||
(int) event.getY (index),
|
||||
event.getEventTime (), pointerID);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue