Repo created
This commit is contained in:
parent
c7f60b13d1
commit
e465363d01
120 changed files with 5776 additions and 2 deletions
|
|
@ -0,0 +1,23 @@
|
|||
package com.polar.nextcloudservices.Services;
|
||||
|
||||
public class NotificationServiceBinder extends android.os.Binder {
|
||||
private final INotificationService mNotificationService;
|
||||
public NotificationServiceBinder(INotificationService service){
|
||||
super();
|
||||
mNotificationService = service;
|
||||
}
|
||||
// Returns current status string of a service
|
||||
public String getServiceStatus() {
|
||||
return mNotificationService.getStatus();
|
||||
}
|
||||
|
||||
// Runs re-check of preferences, can be called from activities
|
||||
public void onPreferencesChanged() {
|
||||
mNotificationService.onPreferencesChanged();
|
||||
}
|
||||
|
||||
// Update API class when accounts state change
|
||||
public void onAccountChanged() {
|
||||
mNotificationService.onAccountChanged();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue