Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions app/src/androidTest/java/dev/threadline/LauncherIconTest.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package dev.threadline

import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNotNull
import org.junit.Test
import org.junit.runner.RunWith

@RunWith(AndroidJUnit4::class)
class LauncherIconTest {
@Test
fun manifestUsesTemporaryLauncherArtwork() {
val context = InstrumentationRegistry.getInstrumentation().targetContext
val applicationInfo = context.packageManager.getApplicationInfo(context.packageName, 0)

assertEquals(R.mipmap.ic_launcher, applicationInfo.icon)
assertNotNull(context.getDrawable(applicationInfo.icon))
}
}
3 changes: 2 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@drawable/ic_terminal"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.Threadline"
android:usesCleartextTraffic="false">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_launcher_adaptive_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:filter="true"
android:gravity="fill"
android:src="@drawable/ic_launcher_artwork" />
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_launcher_adaptive_foreground.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@android:color/transparent" />
</shape>
5 changes: 5 additions & 0 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_adaptive_background" />
<foreground android:drawable="@drawable/ic_launcher_adaptive_foreground" />
</adaptive-icon>
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-mdpi/ic_launcher.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ pass with gesture and three-button navigation. The three-button inset keeps More
clear of the side navigation bar. This work does not require a dedicated signed
alpha; Galaxy owner-device acceptance remains for the next shared candidate.

The issue #38 source replaces the blank-looking white launcher glyph with the
owner-supplied dark-and-green temporary artwork. Density-specific legacy icons
and an adaptive icon keep the launcher and app-switcher identity recognizable;
final brand design remains out of scope. This also does not require a dedicated
signed alpha. In-place update and owner-device launcher-mask acceptance remain
for the next shared candidate.

## Remaining Phase 5 boundaries

- Technical-alpha use sufficient to evaluate the Phase 5 exit criterion.
Expand Down