Commit 727aea16 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '5662-notification-listener-crash' into 'master'

Use requestRebind instead of starting notification service

See merge request !106
parents 1d3ed795 940b70ad
Pipeline #200047 passed with stage
in 8 minutes and 17 seconds
......@@ -319,8 +319,7 @@ public class LauncherActivity extends AppCompatActivity implements
}
// Start NotificationService to add count badge to Icons
Intent notificationServiceIntent = new Intent(this, NotificationService.class);
startService(notificationServiceIntent);
NotificationService.requestRebind(new ComponentName(this, NotificationService.class));
createOrUpdateIconGrid();
addDefaultWidgets();
......
Supports Markdown
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