|
|
@ -19,6 +19,7 @@ package org.floens.chan.ui.fragment; |
|
|
|
|
|
|
|
|
|
|
|
import android.app.DialogFragment; |
|
|
|
import android.app.DialogFragment; |
|
|
|
import android.os.Bundle; |
|
|
|
import android.os.Bundle; |
|
|
|
|
|
|
|
import android.os.Environment; |
|
|
|
import android.view.LayoutInflater; |
|
|
|
import android.view.LayoutInflater; |
|
|
|
import android.view.View; |
|
|
|
import android.view.View; |
|
|
|
import android.view.ViewGroup; |
|
|
|
import android.view.ViewGroup; |
|
|
@ -135,6 +136,10 @@ public class FolderPickFragment extends DialogFragment { |
|
|
|
|
|
|
|
|
|
|
|
listView.setAdapter(adapter); |
|
|
|
listView.setAdapter(adapter); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (currentPath == null || !currentPath.exists()) { |
|
|
|
|
|
|
|
currentPath = Environment.getExternalStorageDirectory(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
moveTo(currentPath); |
|
|
|
moveTo(currentPath); |
|
|
|
|
|
|
|
|
|
|
|
return container; |
|
|
|
return container; |
|
|
|