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

Commit 940b70ad authored by Suphon Thanakornpakapong's avatar Suphon Thanakornpakapong
Browse files

Use requestRebind instead of starting service

parent 53e4b09f
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();