Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfbd58aa authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

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

am: cbc68e59

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

Change-Id: I9fb1d5202c919d1bb7f4cde7884d2c9c98ac14ad
parents ac51be5b cbc68e59
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);