Skip to content

Commit c7a29bc

Browse files
committed
Set default static values to prevent weird crash
1 parent c8c3e84 commit c7a29bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/com/owncloud/android/utils/FileStorageUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
* Static methods to help in access to local file system.
4747
*/
4848
public class FileStorageUtils {
49-
public static Integer mSortOrder;
50-
public static Boolean mSortAscending;
5149
public static final Integer SORT_NAME = 0;
5250
public static final Integer SORT_DATE = 1;
5351
public static final Integer SORT_SIZE = 2;
54-
52+
public static Integer mSortOrder = SORT_NAME;
53+
public static Boolean mSortAscending = true;
54+
5555

5656
//private static final String LOG_TAG = "FileStorageUtils";
5757

0 commit comments

Comments
 (0)