Skip to content

Commit

Permalink
New icon images, reorganize files, update banner
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Nov 3, 2024
1 parent 325d6d7 commit 7ce876d
Show file tree
Hide file tree
Showing 65 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion android/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@

<meta-data
android:name="xperiaplayoptimized_content"
android:resource="@drawable/ic_launcher" />
android:resource="@mipmap/ic_launcher" />

<profileable android:shell="true" android:enabled="true" />
</application>
Expand Down
10 changes: 9 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ android {

compileSdk 35
ndkVersion "21.4.7075529"

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
defaultConfig {
/*
configurations.all {
Expand Down Expand Up @@ -117,10 +121,14 @@ android {
'../assets',
]
}
normal {
res.srcDirs = ['normal/res']
}
gold {
res.srcDirs = ['gold/res']
}
vr {
res.srcDirs = ['normal/res']
manifest.srcFile 'VRManifest.xml'
}
legacy {
Expand Down
1 change: 0 additions & 1 deletion android/d.txt

This file was deleted.

Binary file removed android/gold/res/drawable-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed android/gold/res/drawable-ldpi/ic_launcher.png
Binary file not shown.
Binary file removed android/gold/res/drawable-mdpi/ic_launcher.png
Binary file not shown.
Binary file modified android/gold/res/drawable-xhdpi/ic_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed android/gold/res/drawable-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed android/gold/res/drawable-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file modified android/gold/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-hdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-mdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-xhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/gold/res/mipmap-xxhdpi/ic_launcher_foreground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 android/gold/res/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion android/gold/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#53482D</color>
<color name="ic_launcher_background">#534820</color>
</resources>
Binary file removed android/legacy/res/drawable-hdpi/ic_launcher.png
Binary file not shown.
Binary file removed android/legacy/res/drawable-mdpi/ic_launcher.png
Binary file not shown.
Binary file removed android/legacy/res/drawable-xhdpi/ic_launcher.png
Binary file not shown.
Binary file removed android/legacy/res/drawable-xxhdpi/ic_launcher.png
Binary file not shown.
File renamed without changes
5 changes: 5 additions & 0 deletions android/normal/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="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions android/normal/res/mipmap-anydpi-v26/ic_launcher_round.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="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file added android/normal/res/mipmap-hdpi/ic_launcher.png
Binary file added android/normal/res/mipmap-mdpi/ic_launcher.png
Binary file added android/normal/res/mipmap-xhdpi/ic_launcher.png
Binary file added android/normal/res/mipmap-xxhdpi/ic_launcher.png
Binary file added android/normal/res/mipmap-xxxhdpi/ic_launcher.png
Binary file removed android/res/drawable-hdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/drawable-mdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/drawable-xhdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/drawable-xxhdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/mipmap-hdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/mipmap-hdpi/ic_launcher_foreground.png
Diff not rendered.
Binary file removed android/res/mipmap-mdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/mipmap-mdpi/ic_launcher_foreground.png
Diff not rendered.
Binary file removed android/res/mipmap-xhdpi/ic_launcher.png
Diff not rendered.
Diff not rendered.
Binary file removed android/res/mipmap-xxhdpi/ic_launcher.png
Diff not rendered.
Binary file removed android/res/mipmap-xxhdpi/ic_launcher_foreground.png
Diff not rendered.
8 changes: 0 additions & 8 deletions android/res/values/analytics.xml

This file was deleted.

Binary file added android/src/gold/ic_launcher-playstore.png
Binary file added android/src/normal/ic_launcher-playstore.png
2 changes: 1 addition & 1 deletion android/src/org/ppsspp/ppsspp/ShortcutActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private void respondToShortcutRequest(Uri uri) {
}
if (!setIcon) {
// Fall back to the PPSSPP icon.
ShortcutIconResource iconResource = ShortcutIconResource.fromContext(this, R.drawable.ic_launcher);
ShortcutIconResource iconResource = ShortcutIconResource.fromContext(this, R.mipmap.ic_launcher);
responseIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE, iconResource);
}
setResult(RESULT_OK, responseIntent);
Expand Down

2 comments on commit 7ce876d

@Jack54guythecoder
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, so this only concerns Android logos?

@hrydgard
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, was having strange automated check failures submitting betas to Google Play. tried a bunch of different things including regenerating the icons. In the end, none of this was necessary, it was just giving me a stupid error message that had nothing to do with the real problem.

Please sign in to comment.