typo
This commit is contained in:
parent
690fd06c01
commit
3895c1c4df
|
@ -95,11 +95,11 @@ public class DanaRService extends Service {
|
||||||
.setLocalOnly(true);
|
.setLocalOnly(true);
|
||||||
|
|
||||||
mNotification = mNotificationCompatBuilder.build();
|
mNotification = mNotificationCompatBuilder.build();
|
||||||
nortifManagerNotify();
|
notifyManagerNotify();
|
||||||
startForeground(notifyId, mNotification);
|
startForeground(notifyId, mNotification);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void nortifManagerNotify() {
|
private void notifyManagerNotify() {
|
||||||
mNotificationManager = (NotificationManager) getApplicationContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
mNotificationManager = (NotificationManager) getApplicationContext().getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
mNotificationManager.notify(notifyId, mNotification);
|
mNotificationManager.notify(notifyId, mNotification);
|
||||||
}
|
}
|
||||||
|
@ -122,7 +122,7 @@ public class DanaRService extends Service {
|
||||||
.setContentText(connectionText);
|
.setContentText(connectionText);
|
||||||
|
|
||||||
mNotification = mNotificationCompatBuilder.build();
|
mNotification = mNotificationCompatBuilder.build();
|
||||||
nortifManagerNotify();
|
notifyManagerNotify();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue