Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOTFIX] Resolve Static Analysis Warning #4601

Merged
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
21 changes: 21 additions & 0 deletions catroid/config/lint-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,27 @@
file="src\main\res\drawable-xhdpi\brick_control_1h.9.png"/>
</issue>

<issue
id="UnusedResources"
message="The resource `R.mipmap.ic_launcher_round` appears to be unused"
errorLine1="&lt;adaptive-icon xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;>"
errorLine2="^">
<location
file="src\main\res\mipmap-anydpi-v26\ic_launcher_round.xml"
line="25"
column="1"/>
<location
file="src\main\res\mipmap-hdpi\ic_launcher_round.png"/>
<location
file="src\main\res\mipmap-mdpi\ic_launcher_round.png"/>
<location
file="src\main\res\mipmap-xhdpi\ic_launcher_round.png"/>
<location
file="src\main\res\mipmap-xxhdpi\ic_launcher_round.png"/>
<location
file="src\main\res\mipmap-xxxhdpi\ic_launcher_round.png"/>
</issue>

<issue
id="IconDensities"
message="Missing the following drawables in `drawable-hdpi`: brick_1h_blue.9.png, brick_1h_cyan.9.png, brick_1h_green.9.png, brick_1h_olive.9.png, brick_1h_orange.9.png... (25 more)">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
import java.io.OutputStream;
import java.nio.channels.FileChannel;
import java.nio.file.InvalidPathException;
import java.util.Objects;

import static org.catrobat.catroid.common.Constants.BUFFER_8K;
import static org.catrobat.catroid.common.Constants.IMAGE_DIRECTORY_NAME;
Expand Down