ANDROID_ABI=
WARN_JAVAFLAGS=
ANDROID_SHARED_USER_ID=
+ANDROID_SHARED_USER_NAME=
# This is a list of Makefiles that have alternative versions for
# Android.
emacs_val=`AS_ECHO(["$with_shared_user_id"]) \
| sed -e 's/"/\\"/'`
emacs_val="\"$emacs_val\""
- ANDROID_SHARED_USER_ID="android:sharedUserId=$emacs_val"])],[
+ ANDROID_SHARED_USER_ID="android:sharedUserId=$emacs_val"
+ # `android:sharedUserName' is required for sharedUserID to work
+ # on recent Android releases. It does not otherwise affect the
+ # behavior of any code.
+ emacs_val="\"@string/shared_user_name\""
+ ANDROID_SHARED_USER_NAME="android:sharedUserLabel=$emacs_val"])],[
# Emacs will be built as a shared library, and a wrapper around it
# will also be built for the benefit of applications. This
# requires Emacs be built as a position independent executable.
AC_SUBST([ANDROID_LDFLAGS])
AC_SUBST([ANDROID_BUILD_CFLAGS])
AC_SUBST([ANDROID_SHARED_USER_ID])
+AC_SUBST([ANDROID_SHARED_USER_NAME])
if test "${with_pgtk}" = "yes"; then
window_system=pgtk
android:theme="@style/EmacsStyle"
android:debuggable="@ANDROID_DEBUGGABLE@"
@ANDROID_SHARED_USER_ID@
+ @ANDROID_SHARED_USER_NAME@
android:extractNativeLibs="true">
<activity android:name="org.gnu.emacs.EmacsActivity"
<string name="erase_dump_caption">
Remove the dumped state created when Emacs was installed.
</string>
+
+ <!-- This resource describes the purpose of any `sharedUserId'
+ specified at configure-time. -->
+ <string name="shared_user_name">
+ Emacs shared user
+ </string>
</resources>