Commit 37d516e2 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Add experimental Direct Reply feature

parent fd798148
...@@ -77,8 +77,10 @@ ...@@ -77,8 +77,10 @@
</service> </service>
<receiver android:name=".push.PushManager$DeleteReceiver" <receiver android:name=".push.PushManager$DeleteReceiver"
android:exported="false"> android:exported="false" />
</receiver>
<receiver android:name=".push.PushManager$ReplyReceiver"
android:exported="false" />
<meta-data <meta-data
android:name="io.fabric.ApiKey" android:name="io.fabric.ApiKey"
......
...@@ -76,7 +76,7 @@ abstract class AbstractAuthedActivity extends AbstractFragmentActivity { ...@@ -76,7 +76,7 @@ abstract class AbstractAuthedActivity extends AbstractFragmentActivity {
if (intent.hasExtra(PushConstants.NOT_ID)) { if (intent.hasExtra(PushConstants.NOT_ID)) {
isNotification = true; isNotification = true;
int notificationId = intent.getIntExtra(PushConstants.NOT_ID, 0); int notificationId = intent.getIntExtra(PushConstants.NOT_ID, 0);
PushManager.INSTANCE.clearMessageStack(notificationId); PushManager.INSTANCE.clearMessageBundle(notificationId);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment