Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
67b84a2e
Commit
67b84a2e
authored
Aug 22, 2017
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set categories to notifications
parent
039eb11e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
vlc-android/src/org/videolan/vlc/MediaParsingService.java
vlc-android/src/org/videolan/vlc/MediaParsingService.java
+1
-0
vlc-android/src/org/videolan/vlc/PlaybackService.java
vlc-android/src/org/videolan/vlc/PlaybackService.java
+1
-0
No files found.
vlc-android/src/org/videolan/vlc/MediaParsingService.java
View file @
67b84a2e
...
...
@@ -277,6 +277,7 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
.
setVisibility
(
NotificationCompat
.
VISIBILITY_PUBLIC
)
.
setContentTitle
(
getString
(
R
.
string
.
ml_scanning
))
.
setAutoCancel
(
false
)
.
setCategory
(
NotificationCompat
.
CATEGORY_PROGRESS
)
.
setOngoing
(
true
);
}
String
progressText
=
sb
.
toString
();
...
...
vlc-android/src/org/videolan/vlc/PlaybackService.java
View file @
67b84a2e
...
...
@@ -919,6 +919,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
.
setTicker
(
title
+
" - "
+
artist
)
.
setAutoCancel
(!
playing
)
.
setOngoing
(
playing
)
.
setCategory
(
NotificationCompat
.
CATEGORY_SERVICE
)
.
setDeleteIntent
(
piStop
);
builder
.
setContentIntent
(
getSessionPendingIntent
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment