Merge "Fixed the contentinfo api usage in the bugreport" into nyc-dev

am: cbc68e5

* commit 'cbc68e59119e31ccd405c482afe19572c520cec3':
  Fixed the contentinfo api usage in the bugreport

Change-Id: I9fb1d5202c919d1bb7f4cde7884d2c9c98ac14ad
This commit is contained in:
Selim Cinek
2016-04-06 20:51:44 +00:00
committed by android-build-merger

View File

@@ -463,7 +463,6 @@ public class BugreportProgressService extends Service {
.setContentTitle(title)
.setTicker(title)
.setContentText(name)
.setContentInfo(percentageText)
.setProgress(info.max, info.progress, false)
.setOngoing(true)
.setContentIntent(infoPendingIntent)
@@ -958,7 +957,7 @@ public class BugreportProgressService extends Service {
.setDeleteIntent(newCancelIntent(context, info));
if (!TextUtils.isEmpty(info.name)) {
builder.setContentInfo(info.name);
builder.setSubText(info.name);
}
Log.v(TAG, "Sending 'Share' notification for ID " + info.id + ": " + title);