android: make onExternalAPIEvent protected

pull/3985/head
Saúl Ibarra Corretgé 6 years ago
parent 59b00d022b
commit 20edb7c279
  1. 2
      android/sdk/src/main/java/org/jitsi/meet/sdk/BaseReactView.java
  2. 2
      android/sdk/src/main/java/org/jitsi/meet/sdk/JitsiMeetView.java
  3. 2
      android/sdk/src/main/java/org/jitsi/meet/sdk/incoming_call/IncomingCallView.java

@ -170,7 +170,7 @@ public abstract class BaseReactView<ListenerT>
* @param data - The details of the event associated with/specific to the
* specified {@code name}.
*/
public abstract void onExternalAPIEvent(String name, ReadableMap data);
protected abstract void onExternalAPIEvent(String name, ReadableMap data);
protected void onExternalAPIEvent(
Map<String, Method> listenerMethods,

@ -185,7 +185,7 @@ public class JitsiMeetView extends BaseReactView<JitsiMeetViewListener> {
* by/associated with the specified {@code name}.
*/
@Override
public void onExternalAPIEvent(String name, ReadableMap data) {
protected void onExternalAPIEvent(String name, ReadableMap data) {
// XXX The JitsiMeetView property URL was introduced in order to address
// an exception in the Picture-in-Picture functionality which arose
// because of delays related to bridging between JavaScript and Java. To

@ -50,7 +50,7 @@ public class IncomingCallView
* by/associated with the specified {@code name}.
*/
@Override
public void onExternalAPIEvent(String name, ReadableMap data) {
protected void onExternalAPIEvent(String name, ReadableMap data) {
onExternalAPIEvent(LISTENER_METHODS, name, data);
}

Loading…
Cancel
Save