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:
Saúl Ibarra Corretgé 2022-06-30 10:52:25 +03:00 committed by Titus Moldovan
parent 3185418df0
commit 071531cf14
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}