From: Po Lu Date: Mon, 21 Aug 2023 06:35:45 +0000 (+0800) Subject: Make the Emacs icon ``adaptive'' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c63f178a3008be5f735580817ebab008bbc5257b;p=emacs.git Make the Emacs icon ``adaptive'' * java/AndroidManifest.xml.in (EmacsApplication): Set icon to @mipmap/emacs_icon. * java/org/gnu/emacs/EmacsService.java (onStartCommand): Pick a better name for the persistent notification channel. * java/res/drawable/emacs_background.xml: * java/res/drawable/emacs_foreground.xml: * java/res/mipmap/emacs_icon.png: * java/res/mipmap-v26/emacs_icon.xml: New files, comprising an ``adaptive icon'' required by some Android launchers. --- diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in index b9cda401c9d..2cbcdbc3e5b 100644 --- a/java/AndroidManifest.xml.in +++ b/java/AndroidManifest.xml.in @@ -76,7 +76,7 @@ along with GNU Emacs. If not, see . --> . --> + + + + + + + + + + + + diff --git a/java/res/drawable/emacs_foreground.xml b/java/res/drawable/emacs_foreground.xml new file mode 100644 index 00000000000..ff9e854d038 --- /dev/null +++ b/java/res/drawable/emacs_foreground.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + diff --git a/java/res/mipmap-v26/emacs_icon.xml b/java/res/mipmap-v26/emacs_icon.xml new file mode 100644 index 00000000000..9f070e3f3d2 --- /dev/null +++ b/java/res/mipmap-v26/emacs_icon.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/java/res/mipmap/emacs_icon.png b/java/res/mipmap/emacs_icon.png new file mode 100644 index 00000000000..9ab43d704be Binary files /dev/null and b/java/res/mipmap/emacs_icon.png differ