Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
94c25e88
Commit
94c25e88
authored
Sep 30, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use resized image in rich notification
parent
a82d4ee4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/src/main/java/app/insti/InstiAppFirebaseMessagingService.java
...main/java/app/insti/InstiAppFirebaseMessagingService.java
+2
-1
No files found.
app/src/main/java/app/insti/InstiAppFirebaseMessagingService.java
View file @
94c25e88
...
@@ -124,7 +124,8 @@ public class InstiAppFirebaseMessagingService extends FirebaseMessagingService {
...
@@ -124,7 +124,8 @@ public class InstiAppFirebaseMessagingService extends FirebaseMessagingService {
}
}
Bitmap
largeIcon
=
null
;
Bitmap
largeIcon
=
null
;
if
(
largeIconUrl
!=
null
)
{
if
(
largeIconUrl
!=
null
)
{
largeIcon
=
getCroppedBitmap
(
Picasso
.
get
().
load
(
largeIconUrl
).
get
(),
200
);
largeIcon
=
getCroppedBitmap
(
Picasso
.
get
().
load
(
Constants
.
resizeImageUrl
(
largeIconUrl
,
200
)).
get
(),
200
);
}
}
return
new
Bitmap
[]{
image
,
largeIcon
};
return
new
Bitmap
[]{
image
,
largeIcon
};
}
catch
(
IOException
e
)
{
}
catch
(
IOException
e
)
{
...
...
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