Commit 3fdb4bc4 authored by Michael Mason's avatar Michael Mason Committed by GitHub

Tabs -> Spaces

parent ab613b72
...@@ -89,11 +89,11 @@ public class SendNotificationTask extends AsyncTask<Void, Void, Void> { ...@@ -89,11 +89,11 @@ public class SendNotificationTask extends AsyncTask<Void, Void, Void> {
.setVibrate(new long[]{0, DEFAULT_VIBRATION}) .setVibrate(new long[]{0, DEFAULT_VIBRATION})
.setExtras(bundle.getBundle("data")); .setExtras(bundle.getBundle("data"));
if(android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){ if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
String group = bundle.getString("group"); String group = bundle.getString("group");
if (group != null) group = URLDecoder.decode( group, "UTF-8" ); if (group != null) group = URLDecoder.decode( group, "UTF-8" );
notification.setGroup(group); notification.setGroup(group);
if (bundle.containsKey("groupSummary") && bundle.getBoolean("groupSummary")) { if (bundle.containsKey("groupSummary") && bundle.getBoolean("groupSummary")) {
notification.setGroupSummary(true); notification.setGroupSummary(true);
} }
} }
......
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