diff --git a/src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java b/src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java index c1ca5e6237..8b20cc500d 100644 --- a/src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java +++ b/src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java @@ -35,6 +35,7 @@ import android.content.IntentFilter; import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; import android.content.Intent; +import android.content.SharedPreferences; import android.content.res.Resources.NotFoundException; import android.os.Bundle; import android.os.Parcelable; @@ -456,7 +457,7 @@ public class ReceiveExternalFilesActivity extends FileActivity } private Vector sortFileList(Vector files) { - SharedPreferences sharedPreferences = PreferenceManager + SharedPreferences sharedPreferences = android.preference.PreferenceManager .getDefaultSharedPreferences(this); // Read sorting order, default to sort by name ascending