Skip to content

Commit

Permalink
notification icon
Browse files Browse the repository at this point in the history
(cherry picked from commit d15b83a)
  • Loading branch information
crackededed committed Mar 24, 2024
1 parent 3d2ccac commit 1df84e2
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 23 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ android {
applicationId = "com.github.andreyasadchy.xtra"
minSdk = 21
targetSdk = 34
versionCode = 231
versionName = "2.30.4"
versionCode = 232
versionName = "2.30.5"
resourceConfigurations += listOf("ar", "de", "en", "es", "fr", "in", "it", "ja", "pt-rBR", "ru", "tr", "zh-rTW", "zh-rCN")
}

Expand Down
17 changes: 0 additions & 17 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,6 @@
-dontwarn okhttp3.internal.Util
-dontwarn okhttp3.internal.annotations.EverythingIsNonNull

# https://github.com/square/retrofit/blob/trunk/retrofit/src/main/resources/META-INF/proguard/retrofit2.pro
# Keep inherited services.
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface * extends <1>

# With R8 full mode generic signatures are stripped for classes that are not
# kept. Suspend functions are wrapped in continuations where the type argument
# is used.
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

# R8 full mode strips generic signatures from return types if not kept.
-if interface * { @retrofit2.http.* public *** *(...); }
-keep,allowoptimization,allowshrinking,allowobfuscation class <3>

# With R8 full mode generic signatures are stripped for classes that are not kept.
-keep,allowobfuscation,allowshrinking class retrofit2.Response

# https://github.com/google/gson/blob/main/examples/android-proguard-example/proguard.cfg
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
Expand Down
Binary file added app/src/main/res/drawable-hdpi/notification_icon.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 added app/src/main/res/drawable-mdpi/notification_icon.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.
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 app/src/main/res/values/drawables.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<drawable name="exo_styled_controls_play" tools:override="true">@drawable/baseline_play_arrow_black_48</drawable>
<drawable name="exo_styled_controls_pause" tools:override="true">@drawable/baseline_pause_black_48</drawable>
<drawable name="media3_notification_small_icon" tools:override="true">@drawable/baseline_audiotrack_black_24</drawable>
<drawable name="media3_notification_small_icon" tools:override="true">@drawable/notification_icon</drawable>
</resources>
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
android-gradle-plugin = "8.3.0"
apollo = "3.8.2"
android-gradle-plugin = "8.3.1"
apollo = "3.8.3"
appcompat = "1.7.0-alpha03"
checker-qual = "3.42.0"
coil = "2.6.0"
Expand Down Expand Up @@ -28,7 +28,7 @@ okio = "3.9.0"
open-m3u8 = "0.2.6"
paging = "3.2.1"
preference = "1.2.1"
retrofit = "2.9.0"
retrofit = "2.10.0"
room = "2.6.1"
swiperefreshlayout = "1.1.0"
webkit = "1.10.0"
Expand Down

0 comments on commit 1df84e2

Please sign in to comment.