mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
IRCService: Create Settings object in onCreate()
This commit is contained in:
parent
43a6682803
commit
0e56390452
@ -75,7 +75,6 @@ public class IRCService extends Service
|
||||
|
||||
this.connections = new HashMap<Integer, IRCConnection>();
|
||||
this.binder = new IRCBinder(this);
|
||||
//this.settings = new Settings(this.getApplicationContext());
|
||||
}
|
||||
|
||||
/**
|
||||
@ -85,6 +84,8 @@ public class IRCService extends Service
|
||||
public void onCreate()
|
||||
{
|
||||
super.onCreate();
|
||||
|
||||
settings = new Settings(getBaseContext());
|
||||
notificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user