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
37d516e2
Commit
37d516e2
authored
Oct 20, 2017
by
Leonardo Aramaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add experimental Direct Reply feature
parent
fd798148
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
262 additions
and
64 deletions
+262
-64
AndroidManifest.xml
app/src/main/AndroidManifest.xml
+4
-2
AbstractAuthedActivity.java
.../chat/rocket/android/activity/AbstractAuthedActivity.java
+1
-1
PushManager.kt
app/src/main/java/chat/rocket/android/push/PushManager.kt
+257
-61
No files found.
app/src/main/AndroidManifest.xml
View file @
37d516e2
...
...
@@ -77,8 +77,10 @@
</service>
<receiver
android:name=
".push.PushManager$DeleteReceiver"
android:exported=
"false"
>
</receiver>
android:exported=
"false"
/>
<receiver
android:name=
".push.PushManager$ReplyReceiver"
android:exported=
"false"
/>
<meta-data
android:name=
"io.fabric.ApiKey"
...
...
app/src/main/java/chat/rocket/android/activity/AbstractAuthedActivity.java
View file @
37d516e2
...
...
@@ -76,7 +76,7 @@ abstract class AbstractAuthedActivity extends AbstractFragmentActivity {
if
(
intent
.
hasExtra
(
PushConstants
.
NOT_ID
))
{
isNotification
=
true
;
int
notificationId
=
intent
.
getIntExtra
(
PushConstants
.
NOT_ID
,
0
);
PushManager
.
INSTANCE
.
clearMessage
Stack
(
notificationId
);
PushManager
.
INSTANCE
.
clearMessage
Bundle
(
notificationId
);
}
}
...
...
app/src/main/java/chat/rocket/android/push/PushManager.kt
View file @
37d516e2
This diff is collapsed.
Click to expand it.
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