mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Merge from savannah/emacs-30
4c35382e98; * src/emacs.c (syms_of_emacs) <Vsystem_type>: Fix doc s...34882d5243Port better to Android 3.0765cfaed77; * doc/emacs/anti.texi (Antinews): Fix typos (bug#72167).7093504da2; Fix typos (bug#72167)8c7c4f4baaNew Tramp tests85d2d7982dUpdate Tramp manual504bdd560a; Fix last change3ccebbe17bFix 'toggle-window-dedicated' documentation719d5753ca; * doc/lispref/help.texi (Keys in Documentation): Add cr...e3bba63ecbCheckdoc fixes in transient.el
This commit is contained in:
commit
d31b202377
12 changed files with 35 additions and 22 deletions
|
|
@ -120,11 +120,11 @@ public final class EmacsNoninteractive
|
|||
}
|
||||
|
||||
/* Get a LoadedApk or ActivityThread.PackageInfo. How to do
|
||||
this varies by Android version. On Android 2.3.3 and
|
||||
earlier, there is no ``compatibilityInfo'' argument to
|
||||
this varies by Android version. On Android 3.0 and earlier,
|
||||
there is no ``compatibilityInfo'' argument to
|
||||
getPackageInfo. */
|
||||
|
||||
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.GINGERBREAD_MR1)
|
||||
try
|
||||
{
|
||||
method
|
||||
= activityThreadClass.getMethod ("getPackageInfo",
|
||||
|
|
@ -134,7 +134,7 @@ public final class EmacsNoninteractive
|
|||
(Context.CONTEXT_INCLUDE_CODE
|
||||
| Context.CONTEXT_IGNORE_SECURITY));
|
||||
}
|
||||
else
|
||||
catch (NoSuchMethodException exception)
|
||||
{
|
||||
compatibilityInfoClass
|
||||
= Class.forName ("android.content.res.CompatibilityInfo");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue