* etc/PROBLEMS (Runtime problems specific to Android): Document
inappropriate generation of F3 on certain systems.
* lisp/bindings.el ([iconify-frame], [make-frame-visible]):
Update references to long-obsolete ignore-event command.
* lisp/term/android-win.el ([KEYCODE_NOTIFICATION], [\83]):
Ignore these two nuisance keys by default.
(cherry picked from commit
b7b43931ee4263e81bdaf41da571b94e01d10eff)
position. There is no solution but installing a more
cooperative--and preferably free--input method.
-** The default input method sometimes performs edits out of place in large buffers.
+** The default input method performs edits elsewhere than point in large buffers.
When first reactivated in a window after having been dismissed, certain
heuristics applied by the "Android Keyboard (AOSP)" input method to
documents into any text editor, with no real solution except avoiding
edit suggestions from recently-reactivated input methods.
+** The F3 key appears to be spontaneously activated.
+
+It is possible that this is a product of your inadvertently contacting
+the back-facing fingerprint sensor, which generates F3 key events on
+devices manufactured by OnePlus and possibly others. Sadly, to the best
+of our knowledge such events cannot be distinguished from legitimate
+keypresses.
+
* Build-time problems
** Configuration
;; It seems that they can't because they're handled via
;; special-event-map which is used at very low-level. -stef
(global-set-key [delete-frame] 'handle-delete-frame)
-(global-set-key [iconify-frame] 'ignore-event)
-(global-set-key [make-frame-visible] 'ignore-event)
-
+(global-set-key [iconify-frame] 'ignore)
+(global-set-key [make-frame-visible] 'ignore)
;These commands are defined in editfns.c
;but they are not assigned to keys there.
:ccl-decoder 'android-decode-jni
:ccl-encoder 'android-encode-jni)
+\f
+;; Default key definitions.
+
+;; Suppress KEYCODE_NOTIFICATION, which has been observed to be
+;; spontaneously generated on certain tablets, so that the user may not
+;; be disturbed by intrusive messages when it is registered.
+(global-set-key [KEYCODE_NOTIFICATION] #'ignore)
+(global-set-key [\83] #'ignore) ; KEYCODE_NOTIFICATION on pre-Honeycomb
+ ; releases.
+
\f
(provide 'android-win)
;; android-win.el ends here.