serviceName, serviceLogoImagePath, serviceMessage );
// Sets the authentication service information in order to use in other components.
- if( serviceName )
- {
- mAuthenticationServiceName = serviceName;
- free( serviceName );
- }
+ mAuthenticationServiceName = serviceName;
+ mAuthenticationServiceMessage = serviceMessage;
+ mAuthenticationServiceImagePath = serviceLogoImagePath;
+
+ // Emits the signal to receive the authentication information.
+ mAuthReceivedSignal.Emit();
if( serviceMessage )
{
- mAuthenticationServiceMessage = serviceMessage;
free( serviceMessage );
}
+ if( serviceName )
+ {
+ free( serviceName );
+ }
+
if( serviceLogoImagePath )
{
- mAuthenticationServiceImagePath = serviceLogoImagePath;
free( serviceLogoImagePath );
}
-
- // Emits the signal to receive the authentication information.
- mAuthReceivedSignal.Emit();
}
else
{
id, value, presentationText );
// Sets the fill response information in order to use in other components.
+ mFillItemId = id;
+ mFillItemPresentationText = presentationText;
+ mFillItemValue = value;
+
+ Dali::AutofillItem item = mAutofillGroup.GetAutofillItem( id );
+ Internal::Adaptor::AutofillItem& itemImpl = Internal::Adaptor::GetImplementation( item );
+ itemImpl.AddPresentationList( presentationText );
+ itemImpl.AddFillValueList( value );
+
+ // Emits the signal to fill the data in text input field.
+ mFillReceivedSignal.Emit( item );
+
if( id )
{
- mFillItemId = id;
free( id );
}
- if( presentationText )
- {
- mFillItemPresentationText = presentationText;
- free( presentationText );
- }
-
if( value )
{
- mFillItemValue = value;
free( value );
}
- Dali::AutofillItem item = mAutofillGroup.GetAutofillItem( mFillItemId );
- Internal::Adaptor::AutofillItem& itemImpl = Internal::Adaptor::GetImplementation( item );
- itemImpl.AddPresentationList( mFillItemPresentationText );
- itemImpl.AddFillValueList( mFillItemValue );
-
- // Emits the signal to fill the data in text input field.
- mFillReceivedSignal.Emit( item );
+ if( presentationText )
+ {
+ free( presentationText );
+ }
}
id, value, presentationText );
// Sets the fill response information in order to use in other components.
+ mFillItemId = id;
+ mFillItemPresentationText = presentationText;
+ mFillItemValue = value;
+
+ Dali::AutofillItem item = mAutofillGroup.GetAutofillItem( id );
+ Internal::Adaptor::AutofillItem& itemImpl = Internal::Adaptor::GetImplementation( item );
+ itemImpl.AddPresentationList( presentationText );
+ itemImpl.AddFillValueList( value );
+
if( id )
{
- mFillItemId = id;
free( id );
}
- if( presentationText )
- {
- mFillItemPresentationText = presentationText;
- free( presentationText );
- }
-
if( value )
{
- mFillItemValue = value;
free( value );
}
- Dali::AutofillItem item = mAutofillGroup.GetAutofillItem( mFillItemId );
- Internal::Adaptor::AutofillItem& itemImpl = Internal::Adaptor::GetImplementation( item );
- itemImpl.AddPresentationList( mFillItemPresentationText );
- itemImpl.AddFillValueList( mFillItemValue );
-
+ if( presentationText )
+ {
+ free( presentationText );
+ }
}
#endif // CAPI_AUTOFILL_SUPPORT