diff --git a/REUSE.toml b/REUSE.toml index 20bb98b44..c63e19ddc 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -97,6 +97,14 @@ path = [ SPDX-FileCopyrightText = "2026 Bernard Ladenthin " SPDX-License-Identifier = "MIT OR Apache-2.0" +# Android launcher-icon PNGs (binary, cannot carry inline SPDX). Generated from the +# shard-J of the java-llama.cpp logo; same MIT OR Apache-2.0 as the branding assets +# above (the adaptive-icon + colour XMLs carry their SPDX headers inline). +[[annotations]] +path = "android-llmservice/app/src/main/res/mipmap-*/ic_launcher*.png" +SPDX-FileCopyrightText = "2026 Bernard Ladenthin " +SPDX-License-Identifier = "MIT OR Apache-2.0" + # Test image (binary, cannot carry inline SPDX) [[annotations]] path = "llama/src/test/resources/images/test-image.jpg" diff --git a/android-llmservice/app/src/main/AndroidManifest.xml b/android-llmservice/app/src/main/AndroidManifest.xml index b2c2d40b2..f5a0dddd8 100644 --- a/android-llmservice/app/src/main/AndroidManifest.xml +++ b/android-llmservice/app/src/main/AndroidManifest.xml @@ -26,6 +26,8 @@ SPDX-License-Identifier: MIT + + + + + diff --git a/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 000000000..d0f770e2e Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..efbcff1d5 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 000000000..83b084bef Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..d1e0021a5 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 000000000..b6c136b80 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..f0ac1f30a Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 000000000..0941ecf30 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..9c651d940 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 000000000..e8013b0c9 Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png new file mode 100644 index 000000000..866b950cc Binary files /dev/null and b/android-llmservice/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ diff --git a/android-llmservice/app/src/main/res/values/ic_launcher_background.xml b/android-llmservice/app/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 000000000..3425a8ede --- /dev/null +++ b/android-llmservice/app/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,9 @@ + + + + #111111 + diff --git a/android-llmservice/requirements.md b/android-llmservice/requirements.md index 32638ef6e..b84514825 100644 --- a/android-llmservice/requirements.md +++ b/android-llmservice/requirements.md @@ -38,6 +38,7 @@ by hand only (no automated test); `build` = enforced at build/resource-compile t | R1.4 | Native ABIs shipped: **`arm64-v8a`** (phones) and **`x86_64`** (emulators / x86 Android). | `app/build.gradle.kts` | build | | R1.5 | Depends on `net.ladenthin:llama-android` (AAR) + `net.ladenthin:llama-kotlin` (façade), version selectable via `-PjllamaVersion`. | `app/build.gradle.kts` | build | | R1.6 | It is a standalone plain-Gradle/AGP build (NOT a Maven reactor module) and is **not** published to Maven Central. | repo layout | manual | +| R1.7 | The launcher icon is the **shard-`J`** of the java-llama.cpp logo (orange `#F65E00` on `#111111`), shipped as an **adaptive icon** (foreground + `@color/ic_launcher_background`) for API 26+ plus legacy `mipmap-*/ic_launcher.png` for older devices; wired via `android:icon`/`android:roundIcon`. Sourced from the shared `workspace` logo set. | `AndroidManifest.xml`; `res/mipmap-anydpi-v26/ic_launcher.xml`; `res/mipmap-*/ic_launcher*.png`; `res/values/ic_launcher_background.xml` | manual | ## R2 — Privacy & network posture