fix(android) make ongoing service public
Those using the view API may want to integrate iit in their own Activity.
This commit is contained in:
parent
3185418df0
commit
071531cf14
|
@ -51,7 +51,7 @@ public class JitsiMeetOngoingConferenceService extends Service
|
|||
|
||||
private boolean isAudioMuted;
|
||||
|
||||
static void launch(Context context, HashMap<String, Object> extraData) {
|
||||
public static void launch(Context context, HashMap<String, Object> extraData) {
|
||||
OngoingNotification.createOngoingConferenceNotificationChannel();
|
||||
|
||||
Intent intent = new Intent(context, JitsiMeetOngoingConferenceService.class);
|
||||
|
@ -80,7 +80,7 @@ public class JitsiMeetOngoingConferenceService extends Service
|
|||
}
|
||||
}
|
||||
|
||||
static void abort(Context context) {
|
||||
public static void abort(Context context) {
|
||||
Intent intent = new Intent(context, JitsiMeetOngoingConferenceService.class);
|
||||
context.stopService(intent);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue