public AppCall createAppCall(final LikeContent content) { AppCall appcall = createBaseAppCall(); class _cls1 implements com.facebook.internal.DialogPresenter.ParameterProvider { final LikeDialog.NativeHandler this$1; final LikeContent val$content; public Bundle getLegacyParameters() { Log.e("LikeDialog", "Attempting to present the Like Dialog with an outdated Facebook app on the device"); return new Bundle(); } public Bundle getParameters() { return LikeDialog.access$200(content); } _cls1() { this$1 = LikeDialog.NativeHandler.this; content = likecontent; super(); } } DialogPresenter.setupAppCallForNativeDialog(appcall, new _cls1(), LikeDialog.access$300()); return appcall; }
@Override public AppCall createAppCall(final AppInviteContent content) { final AppCall appCall = createBaseAppCall(); DialogPresenter.setupAppCallForNativeDialog( appCall, new DialogPresenter.ParameterProvider() { @Override public Bundle getParameters() { return createParameters(content); } @Override public Bundle getLegacyParameters() { // App Invites are not supported with legacy fb4a devices. // We should never get here Log.e( TAG, "Attempting to present the AppInviteDialog with " + "an outdated Facebook app on the device"); return new Bundle(); } }, getFeature()); return appCall; }