mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Include more information in Android bug reports
* src/androidfns.c (Fx_server_vendor, Fx_server_version): New functions. (syms_of_androidfns): Define new functions. * src/androidterm.c (android_set_build_fingerprint) (syms_of_androidterm): Set new variable Vandroid_build_manufacturer. * src/xfns.c (Fx_server_vendor, Fx_server_version): Update doc strings.
This commit is contained in:
parent
6e83b72706
commit
9d1285883c
3 changed files with 72 additions and 2 deletions
|
|
@ -1234,6 +1234,32 @@ DEFUN ("x-display-color-cells", Fx_display_color_cells, Sx_display_color_cells,
|
|||
return make_fixnum (1 << nr_planes);
|
||||
}
|
||||
|
||||
DEFUN ("x-server-vendor", Fx_server_vendor, Sx_server_vendor, 0, 1, 0,
|
||||
doc: /* SKIP: real doc in xfns.c. */)
|
||||
(Lisp_Object terminal)
|
||||
{
|
||||
#ifdef ANDROID_STUBIFY
|
||||
error ("Android cross-compilation stub called!");
|
||||
return Qnil;
|
||||
#else
|
||||
check_android_display_info (terminal);
|
||||
return Vandroid_build_manufacturer;
|
||||
#endif
|
||||
}
|
||||
|
||||
DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0,
|
||||
doc: /* SKIP: real doc in xfns.c. */)
|
||||
(Lisp_Object terminal)
|
||||
{
|
||||
#ifdef ANDROID_STUBIFY
|
||||
error ("Android cross-compilation stub called!");
|
||||
return Qnil;
|
||||
#else
|
||||
check_android_display_info (terminal);
|
||||
return list3i (android_get_current_api_level (), 0, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
DEFUN ("x-display-screens", Fx_display_screens, Sx_display_screens,
|
||||
0, 1, 0, doc: /* SKIP: real doc in xfns.c. */)
|
||||
(Lisp_Object terminal)
|
||||
|
|
@ -3114,6 +3140,8 @@ using the volume down button. */);
|
|||
defsubr (&Sx_hide_tip);
|
||||
defsubr (&Sandroid_detect_mouse);
|
||||
defsubr (&Sandroid_toggle_on_screen_keyboard);
|
||||
defsubr (&Sx_server_vendor);
|
||||
defsubr (&Sx_server_version);
|
||||
#ifndef ANDROID_STUBIFY
|
||||
defsubr (&Sandroid_query_battery);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue