android: make onExternalAPIEvent protected

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-06 15:39:49 +01:00
parent 59b00d022b
commit 20edb7c279
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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