Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Network
KDE Connect Android
Commits
e1b665bc
Commit
e1b665bc
authored
Jan 26, 2019
by
Erik Duisters
Committed by
Nicolas Fella
Jan 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use BigText style for share notification
parent
e6673cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java
...kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java
+1
-1
No files found.
src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java
View file @
e1b665bc
...
...
@@ -43,7 +43,6 @@ import java.io.InputStream;
import
androidx.core.app.NotificationCompat
;
import
androidx.core.content.FileProvider
;
//TODO: Starting API 24 notification title and text are both displayed on 1 line above the progress bar. Because title can be long, the text is often not displayed
class
ShareNotification
{
private
final
NotificationManager
notificationManager
;
private
final
int
notificationId
;
...
...
@@ -86,6 +85,7 @@ class ShareNotification {
public
void
setProgress
(
int
progress
,
String
progressMessage
)
{
builder
.
setProgress
(
100
,
progress
,
false
);
builder
.
setContentText
(
progressMessage
);
builder
.
setStyle
(
new
NotificationCompat
.
BigTextStyle
().
bigText
(
progressMessage
));
}
public
void
setFinished
(
String
message
)
{
...
...
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