Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Commit 999a57a

Browse files
committed
res: Add adaptive launcher icons
1 parent 27a4889 commit 999a57a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+25
-266
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
android:allowNativeHeapPointerTagging="false"
2020
android:dataExtractionRules="@xml/data_extraction_rules"
2121
android:fullBackupContent="@xml/backup_rules"
22-
android:icon="@mipmap/ic_rpcs3"
22+
android:icon="@mipmap/ic_launcher"
2323
android:label="@string/app_name"
24-
android:roundIcon="@mipmap/ic_rpcs3_round"
24+
android:roundIcon="@mipmap/ic_launcher_round"
2525
android:supportsRtl="true"
2626
android:isGame="true"
2727
android:theme="@style/Theme.RPCS3"
54.3 KB
-10.4 KB
Binary file not shown.

app/src/main/java/net/rpcs3/ProgressRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class ProgressRepository {
9090

9191
val builder = NotificationCompat.Builder(context, "rpcs3-progress").apply {
9292
setContentTitle(title)
93-
setSmallIcon(R.drawable.ic_launcher_foreground)
93+
setSmallIcon(R.mipmap.ic_launcher)
9494
setCategory(NotificationCompat.CATEGORY_SERVICE)
9595
setPriority(NotificationCompat.PRIORITY_DEFAULT)
9696
setProgress(0, 0, true)

app/src/main/java/net/rpcs3/provider/AppDataDocumentProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class AppDataDocumentProvider : DocumentsProvider() {
6666
.add(Root.COLUMN_AVAILABLE_BYTES, baseDirectory().freeSpace)
6767
.add(Root.COLUMN_TITLE, context().getString(R.string.app_name))
6868
.add(Root.COLUMN_MIME_TYPES, "*/*")
69-
.add(Root.COLUMN_ICON, R.mipmap.ic_rpcs3)
69+
.add(Root.COLUMN_ICON, R.mipmap.ic_launcher)
7070
return cursor
7171
}
7272

app/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 0 additions & 170 deletions
This file was deleted.

app/src/main/res/drawable/ic_launcher_foreground.xml

Lines changed: 0 additions & 30 deletions
This file was deleted.

app/src/main/res/drawable/ic_rpcs3_foreground.xml

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
6+
</adaptive-icon>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_background"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5+
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
6+
</adaptive-icon>

0 commit comments

Comments
 (0)