Ticket Created
over 3 years ago

CIQQA-910

Invalid Resource Specified in getProviderIconInfo (Toybox.Application.AudioContentProviderApp) - Fenix 7 & Epix 2

Yesterday I added Fenix 7 and Epix 2 to products list of my audio content provider app ( https://apps.garmin.com/cs-CZ/apps/12ba92cf-3e61-4bc3-8cea-8293e51307e8 ). This app is already used (and works without any problems) across all Garmin´s watches that support audio content providers. Today I started receiving reports from Fenix 7 and Epix 2 users that the application on their device crashes after starting the synchronization. Therefore, I checked ERA and found that the application crashes on this error:

Error Name: Invalid Resource Specified
Devices: fenix ® 7S: 5.35
App Versions: 1.6.1
Languages: deu
Backtrace:
    PlaylistSyncQueue.<init>:2
    PlaylistSyncQueue.<init>:2
    MusicManagerApp.getProviderIconInfo:50

Method getProviderIconInfo() looks like this:

function getProviderIconInfo() {
    return new Media.ProviderIconInfo(Rez.Drawables.logo_with_palette, 0x4CBB17);
}

This is how my drawables.xml looks like:

<drawables>
    <bitmap id="LauncherIcon" filename="launcher_icon.png" />
    <bitmap id="logo_with_palette" filename="logo.png" dithering="none">
        <palette>
            <color>000000</color>
            <color>FC9CC4</color>
            <color>F33B82</color>
        </palette>
    </bitmap>
</drawables>

And this is the logo.png:

logo.png

If I run the application in the simulator (any Fenix 7 or Epix 2), everything works without error.

The application is built using SDK 4.0.8

As I said, the application is used across all watches that support it and it works everywhere without this error (except Fenix 7 and Epix 2).

Since the application works without problems on other devices and also in the simulator, I assume that this is a bug and therefore I report it.

Unfortunately, I don't have the opportunity to test this myself, because I'm still waiting for my Fenix 7.