Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit 152a86c

Browse files
committed
QQ Avatar
1 parent 42f71af commit 152a86c

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

app/release/app-release.apk

81 Bytes
Binary file not shown.

app/src/main/java/com/RichardLuo/notificationpush/Preferences.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ public void run() {
228228
e.printStackTrace();
229229
}
230230
db.close();
231+
if (getActivity() != null)
232+
getActivity().runOnUiThread(new Runnable() {
233+
public void run() {
234+
Toast.makeText(getContext(), "同步成功", Toast.LENGTH_SHORT).show();
235+
}
236+
});
231237
}
232238
}.start();
233239
break;
@@ -355,7 +361,7 @@ public void run() {
355361
e.printStackTrace();
356362
}
357363
try {
358-
sleep(100);
364+
sleep(400);
359365
} catch (InterruptedException e1) {
360366
e1.printStackTrace();
361367
}

0 commit comments

Comments
 (0)