File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
WordPressUtils/src/main/java/org/wordpress/android/util Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 55import android .content .Context ;
66import android .content .pm .PackageManager ;
77import android .os .Build ;
8- import android .os .Build .VERSION_CODES ;
98
109import androidx .core .app .ActivityCompat ;
1110import 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 };
You can’t perform that action at this time.
0 commit comments