update:更新图标
fix bug:修复闪退
This commit is contained in:
2022-02-17 17:19:46 +08:00
parent ae3f5d9a55
commit 29ddb5db15
6 changed files with 4 additions and 1 deletions

View File

@@ -242,6 +242,7 @@ public class MainActivity extends AppCompatActivity {
if (file.exists()) {
LinkedList<File> list = new LinkedList<File>();
File[] files = file.listFiles();
if (files == null) return null;
for (File file2 : files) {
publishProgress(file2.getAbsolutePath());
if (file2.isDirectory()) {
@@ -256,6 +257,9 @@ public class MainActivity extends AppCompatActivity {
while (!list.isEmpty()) {
temp_file = list.removeFirst();
files = temp_file.listFiles();
if (files == null){
continue;
}
for (File file2 : files) {
publishProgress(file2.getAbsolutePath());
if (file2.isDirectory()) {
@@ -353,7 +357,6 @@ public class MainActivity extends AppCompatActivity {
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
//返回按钮点击事件

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB