Improvements to android multiplayer

This commit is contained in:
Yousef Khadadeh 2026-05-16 18:59:21 +03:00
parent 10079768de
commit 533d54be82
7 changed files with 97 additions and 7 deletions

View file

@ -44,8 +44,8 @@ public class InfiniPaintNetworkService extends Service {
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
Notification notification = new Notification.Builder(this, CHANNEL_ID)
.setContentTitle("Online canvas")
.setContentText("Currently online")
.setContentTitle("Currently online")
.setSmallIcon(R.drawable.logo_foreground_tiny)
.build();
startForeground(1, notification);
networkServiceStarted();