Skip to content
Snippets Groups Projects
Commit 14e051a3 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Set content intent for ML scan notification

parent 3e9ea45a
Branches dev-bugC
No related tags found
No related merge requests found
......@@ -150,6 +150,7 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
else
sb.append(getString(R.string.ml_parse_media));
NotificationCompat.Builder builder = new NotificationCompat.Builder(MediaParsingService.this)
.setContentIntent(PendingIntent.getActivity(MediaParsingService.this, 0, new Intent(MediaParsingService.this, StartActivity.class), PendingIntent.FLAG_UPDATE_CURRENT))
.setSmallIcon(R.drawable.ic_notif_scan)
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
.setContentTitle(getString(R.string.ml_scanning))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment