This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
androidTest/java/com/zulip/android/test
main/java/com/zulip/android/gcm Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -128,8 +128,7 @@ public Void call() throws Exception {
128
128
129
129
assertEquals (600 , messageDao .countOf ());
130
130
Message .trim (100 , app );
131
- @ SuppressWarnings ("unused" )
132
- List <Message > messages = this .messageDao .queryForAll ();
131
+ this .messageDao .queryForAll ();
133
132
assertEquals (100 , messageDao .countOf ());
134
133
assertEquals (1 , messageRangeDao .countOf ());
135
134
MessageRange r = messageRangeDao .queryBuilder ().queryForFirst ();
Original file line number Diff line number Diff line change @@ -51,11 +51,10 @@ private void sendNotification(Bundle msg) {
51
51
new Intent (this , ZulipActivity .class ).addFlags (0 ), 0 );
52
52
53
53
String type = msg .getString ("recipient_type" );
54
- String title = msg .getString ("alert" );
55
54
String tag = "zulip" ;
56
55
String content = msg .getString ("content" );
57
56
58
- title = msg .getString ("sender_full_name" );
57
+ String title = msg .getString ("sender_full_name" );
59
58
60
59
NotificationCompat .Builder builder = new NotificationCompat .Builder (
61
60
this ).setSmallIcon (R .drawable .zulip_notification )
You can’t perform that action at this time.
0 commit comments