Compare commits

...

37 Commits

Author SHA1 Message Date
paivk6s5c 6676c72075 Merge pull request '用例描述,用例顺序图,分析类图' (#28) from dev into master
2 years ago
潘孝峰 5da78f2e2b 11
2 years ago
潘孝峰 1889da1153 1
2 years ago
潘孝峰 1020d674f9 1
2 years ago
sxg c82f21ffb1 1
2 years ago
sxg fb47e16e93 1
2 years ago
sxg 1c0c521fe7 Merge branch 'sxg_branch' of https://bdgit.educoder.net/paivk6s5c/gitProject into sxg_branch
2 years ago
sxg 5c054d6918 1
2 years ago
paivk6s5c 0aa86d4366 Merge pull request '1' (#24) from zgh_branch into dev
2 years ago
潘孝峰 04933b0b3b 状态图
2 years ago
王祥乐 57db332aca 1
2 years ago
潘孝峰 fd6c0a4ee6 1
2 years ago
潘孝峰 5917e46105 Merge branch 'wxl_branch' of https://bdgit.educoder.net/paivk6s5c/gitProject into dev
2 years ago
王祥乐 d4b4aea5d7 状态图
2 years ago
潘孝峰 74810e1e3c 说明书
2 years ago
潘孝峰 41afe571fb Merge branch 'xhl_branch' of https://bdgit.educoder.net/paivk6s5c/gitProject into dev
2 years ago
潘孝峰 721b7867a1 1
2 years ago
潘孝峰 0b2db90c0a 1
2 years ago
潘孝峰 33a1f21c78 说明书
2 years ago
徐海麓 ccb844f515 1
2 years ago
徐海麓 145fe52fb2 部分功能的分析类图
2 years ago
210340082张国昊 c068c2e347 1
2 years ago
sxg 25d62e9ec2 分析类图
2 years ago
潘孝峰 9df81eb686 1
2 years ago
潘孝峰 bc2c131d99 Merge branch 'dev' of https://bdgit.educoder.net/paivk6s5c/gitProject into dev
2 years ago
潘孝峰 512622623d 泛读修改
2 years ago
paivk6s5c e06384332f Merge pull request '210340075 _王祥乐' (#12) from wxl_branch into dev
2 years ago
王祥乐 ca28b2369b 状态图
2 years ago
王祥乐 b1b4c9b3a9 状态图
2 years ago
潘孝峰 8e9f4ac4b9 软件需求规格说明书
2 years ago
潘孝峰 8ac59f620a Merge branch 'dev' of https://bdgit.educoder.net/paivk6s5c/gitProject into dev
2 years ago
潘孝峰 446319e7a3 软件需求规格说明书
2 years ago
paivk6s5c ade36e668a Merge pull request '标注 210340080_徐海麓' (#15) from xhl_branch into dev
2 years ago
徐海麓 dda7de77ad 1
2 years ago
徐海麓 5800ed9326 11
2 years ago
潘孝峰 e179a60aed 泛读修改
2 years ago
潘孝峰 cc028d5532 11
2 years ago

@ -64,6 +64,10 @@ public class GTaskASyncTask extends AsyncTask<Void, String, Integer> {
}
private void showNotification(int tickerId, String content) {
Notification notification = new Notification(R.drawable.notification, mContext
.getString(tickerId), System.currentTimeMillis());
notification.defaults = Notification.DEFAULT_LIGHTS;
notification.flags = Notification.FLAG_AUTO_CANCEL;
PendingIntent pendingIntent;
if (tickerId != R.string.ticker_success) {
pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext,
@ -73,21 +77,11 @@ public class GTaskASyncTask extends AsyncTask<Void, String, Integer> {
pendingIntent = PendingIntent.getActivity(mContext, 0, new Intent(mContext,
NotesListActivity.class), 0);
}
Notification.Builder builder = new Notification.Builder(mContext)
.setAutoCancel(true)
.setContentTitle(mContext.getString(R.string.app_name))
.setContentText(content)
.setContentIntent(pendingIntent)
.setWhen(System.currentTimeMillis())
.setOngoing(true);
Notification notification=builder.getNotification();
notification.setLatestEventInfo(mContext, mContext.getString(R.string.app_name), content,
pendingIntent);
mNotifiManager.notify(GTASK_SYNC_NOTIFICATION_ID, notification);
}
@Override
protected Integer doInBackground(Void... unused) {
publishProgess(mContext.getString(R.string.sync_progress_login, NotesPreferenceActivity

@ -251,4 +251,3 @@ public class Note {
}
}
}
Loading…
Cancel
Save