Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
AloqaIM-Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
AloqaIM-Android
Commits
2c8e5e9c
Commit
2c8e5e9c
authored
Oct 20, 2017
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused class
parent
37d516e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
PushManager.kt
app/src/main/java/chat/rocket/android/push/PushManager.kt
+1
-10
No files found.
app/src/main/java/chat/rocket/android/push/PushManager.kt
View file @
2c8e5e9c
...
...
@@ -24,7 +24,6 @@ import chat.rocket.android.R
import
chat.rocket.android.RocketChatCache
import
chat.rocket.android.activity.MainActivity
import
chat.rocket.android.helper.Logger
import
chat.rocket.android.push.PushManager.fromHtml
import
chat.rocket.core.interactors.MessageInteractor
import
chat.rocket.core.models.Room
import
chat.rocket.core.models.User
...
...
@@ -353,14 +352,6 @@ object PushManager {
return
this
}
private
data class
MessageGroup
(
val
id
:
Int
,
val
host
:
String
)
{
val
messageStack
:
SparseArray
<
ArrayList
<
String
>>
init
{
messageStack
=
SparseArray
()
}
}
private
data class
PushMessage
(
val
title
:
String
,
val
message
:
String
,
val
image
:
String
?,
...
...
@@ -414,7 +405,7 @@ object PushManager {
override
fun
onReceive
(
context
:
Context
?,
intent
:
Intent
?)
{
if
(
context
==
null
)
{
return
;
return
}
val
manager
=
context
.
getSystemService
(
Context
.
NOTIFICATION_SERVICE
)
as
NotificationManager
val
message
:
CharSequence
?
=
extractMessage
(
intent
)
...
...
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