Skip to content

Commit 0dbd60d

Browse files
author
Thomas Horta
committed
Remove unused import
1 parent ead0834 commit 0dbd60d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/PermissionUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import android.content.Context;
66
import android.content.pm.PackageManager;
77
import android.os.Build;
8-
import android.os.Build.VERSION_CODES;
98

109
import androidx.core.app.ActivityCompat;
1110
import androidx.core.content.ContextCompat;
@@ -123,7 +122,7 @@ public static String[] getCameraAndStoragePermissions() {
123122
* files when using DownloadManager.Request#setDestinationInExternalPublicDir.
124123
*/
125124
private static String[] getFileDownloadPermission() {
126-
if (Build.VERSION.SDK_INT >= VERSION_CODES.Q) {
125+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
127126
return new String[]{};
128127
} else {
129128
return new String[]{permission.READ_EXTERNAL_STORAGE, permission.WRITE_EXTERNAL_STORAGE};

0 commit comments

Comments
 (0)