Improvements to android multiplayer
This commit is contained in:
parent
10079768de
commit
533d54be82
7 changed files with 97 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue