Commit 176e4704 authored by topjohnwu's avatar topjohnwu

Use platform icons for notifications

parent 646a10d9
...@@ -59,7 +59,7 @@ public class ProgressNotification implements DownloadProgressListener { ...@@ -59,7 +59,7 @@ public class ProgressNotification implements DownloadProgressListener {
public void dlDone() { public void dlDone() {
builder.setProgress(0, 0, false) builder.setProgress(0, 0, false)
.setContentText(App.self.getString(R.string.download_complete)) .setContentText(App.self.getString(R.string.download_complete))
.setSmallIcon(R.drawable.ic_check_circle) .setSmallIcon(android.R.drawable.stat_sys_download_done)
.setOngoing(false); .setOngoing(false);
lastUpdate(); lastUpdate();
} }
...@@ -67,7 +67,7 @@ public class ProgressNotification implements DownloadProgressListener { ...@@ -67,7 +67,7 @@ public class ProgressNotification implements DownloadProgressListener {
public void dlFail() { public void dlFail() {
builder.setProgress(0, 0, false) builder.setProgress(0, 0, false)
.setContentText(App.self.getString(R.string.download_file_error)) .setContentText(App.self.getString(R.string.download_file_error))
.setSmallIcon(R.drawable.ic_cancel) .setSmallIcon(android.R.drawable.stat_notify_error)
.setOngoing(false); .setOngoing(false);
lastUpdate(); lastUpdate();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment