Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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();