Skip to content

Commit

Permalink
Fix splashscreen WearOS icon (#732)
Browse files Browse the repository at this point in the history
**Background**

Right now we not compain under Play Store review policy:
```
Their latest submission was rejected because the launcher icon does not match the splash screen icon, those 2 need to be exactly the same. See WO-V15 from https://developer.android.com/docs/quality-guidelines/wear-app-quality.
```

**Changes**

Use for splashscreen wearos app icon

**Test plan**

Try launch wearos app and check icon
  • Loading branch information
LionZXY authored Nov 4, 2023
1 parent 1a9c2bb commit 24e657b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 400 deletions.
1 change: 1 addition & 0 deletions .github/workflows/internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,4 @@ jobs:
releaseFiles: ${{steps.download-wearos.outputs.download-path}}/flipper-zero-wearos.aab
track: wear:production
mappingFile: ${{steps.download-wearos.outputs.download-path}}/mapping-wearos.txt
changesNotSentForReview: true
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# 1.6.7 - In progress

- [FIX] Splashscreen WearOS icon

# 1.6.6

- [Feature] Bump deps
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion instances/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:allowBackup="true"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name="com.flipperdevices.app.FlipperApplication"
android:supportsRtl="false"
Expand Down
2 changes: 1 addition & 1 deletion instances/wearable/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name="com.flipperdevices.wearable.FlipperApplication"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/FlipperTheme">
<meta-data
Expand Down
390 changes: 0 additions & 390 deletions instances/wearable/src/main/res/drawable/pic_splashscreen_dolphin.xml

This file was deleted.

2 changes: 1 addition & 1 deletion instances/wearable/src/main/res/drawable/splash_screen.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@drawable/pic_splashscreen_dolphin"
android:drawable="@mipmap/ic_launcher"
android:gravity="center"
android:height="@dimen/splash_screen_icon_size"
android:width="@dimen/splash_screen_icon_size" />
Expand Down
2 changes: 1 addition & 1 deletion instances/wearable/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<!-- Set the theme of the Activity that follows your splash screen. -->
<item name="postSplashScreenTheme">@style/FlipperTheme</item>
<!-- Set a white background behind the splash screen icon. -->
<item name="windowSplashScreenIconBackgroundColor">@android:color/white</item>
<item name="windowSplashScreenIconBackgroundColor">@color/ic_launcher_background</item>
</style>
</resources>

0 comments on commit 24e657b

Please sign in to comment.