diff options
Diffstat (limited to 'src/androidselect.c')
| -rw-r--r-- | src/androidselect.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/androidselect.c b/src/androidselect.c index cf2265d4cf4..3f025351093 100644 --- a/src/androidselect.c +++ b/src/androidselect.c | |||
| @@ -613,10 +613,12 @@ android_notifications_notify_1 (Lisp_Object title, Lisp_Object body, | |||
| 613 | (long int) (boot_time.tv_sec / 2), id); | 613 | (long int) (boot_time.tv_sec / 2), id); |
| 614 | 614 | ||
| 615 | /* Encode all strings into their Java counterparts. */ | 615 | /* Encode all strings into their Java counterparts. */ |
| 616 | title1 = android_build_string (title); | 616 | title1 = android_build_string (title, NULL); |
| 617 | body1 = android_build_string (body); | 617 | body1 = android_build_string (body, title1, NULL); |
| 618 | group1 = android_build_string (group); | 618 | group1 = android_build_string (group, body1, title1, NULL); |
| 619 | identifier1 = android_build_jstring (identifier); | 619 | identifier1 |
| 620 | = (*android_java_env)->NewStringUTF (android_java_env, identifier); | ||
| 621 | android_exception_check_3 (title1, body1, group1); | ||
| 620 | 622 | ||
| 621 | /* Create the notification. */ | 623 | /* Create the notification. */ |
| 622 | notification | 624 | notification |