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
51f7b46628
commit
0913cf2c4f
|
@ -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