Skip to content

Commit 827d4bc

Browse files
committed
PR fix
1 parent 5ac46cc commit 827d4bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

widgetssdk/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
3131
<uses-permission
3232
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
33-
android:maxSdkVersion="28" />
33+
android:maxSdkVersion="32" />
3434
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
3535
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
3636

widgetssdk/src/main/java/com/glia/widgets/chat/ChatView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ internal class ChatView(context: Context, attrs: AttributeSet?, defStyleAttr: In
878878
}
879879

880880
override fun onFileDownloadClick(file: AttachmentFile) {
881-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S || ContextCompat.checkSelfPermission(
881+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q || ContextCompat.checkSelfPermission(
882882
context, Manifest.permission.WRITE_EXTERNAL_STORAGE
883883
) == PackageManager.PERMISSION_GRANTED
884884
) {

0 commit comments

Comments
 (0)