Show notification ticker for finished bugreports.

Change-Id: I7d326b0da83c3ae334739cdb8cb4ca18f948c50f
This commit is contained in:
Jeff Sharkey
2013-03-20 12:10:51 -07:00
parent 952e4805f7
commit e37e9ba3ca

View File

@@ -87,6 +87,7 @@ public class BugreportReceiver extends BroadcastReceiver {
final Notification.Builder builder = new Notification.Builder(context);
builder.setSmallIcon(com.android.internal.R.drawable.stat_sys_adb);
builder.setContentTitle(context.getString(R.string.bugreport_finished_title));
builder.setTicker(context.getString(R.string.bugreport_finished_title));
builder.setContentText(context.getString(R.string.bugreport_finished_text));
builder.setContentIntent(PendingIntent.getActivity(
context, 0, notifIntent, PendingIntent.FLAG_CANCEL_CURRENT));