Skip to content

Commit

Permalink
Implements JitsiMeetActivityInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
skrafft committed Feb 10, 2019
1 parent fee2c66 commit c2a8cb9
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
import org.jitsi.meet.sdk.JitsiMeetView;
import org.jitsi.meet.sdk.JitsiMeetViewListener;
import org.jitsi.meet.sdk.ReactActivityLifecycleCallbacks;
import org.jitsi.meet.sdk.JitsiMeetActivityInterface;

public class JitsiMeetNavigatorActivity extends AppCompatActivity implements JitsiMeetViewListener{
public class JitsiMeetNavigatorActivity extends AppCompatActivity implements JitsiMeetViewListener, JitsiMeetActivityInterface {

/**
* Instance of the {@link JitsiMeetView} which this activity will display.
Expand Down Expand Up @@ -81,6 +82,14 @@ public void onRequestPermissionsResult(
ReactActivityLifecycleCallbacks.onRequestPermissionsResult(requestCode, permissions, grantResults);
}

/**
* Implementation of the {@code PermissionAwareActivity} interface.
*/
@Override
public void requestPermissions(String[] permissions, int requestCode, PermissionListener listener) {
ReactActivityLifecycleCallbacks.requestPermissions(this, permissions, requestCode, listener);
}

@Override
protected void onResume() {
super.onResume();
Expand Down

0 comments on commit c2a8cb9

Please sign in to comment.