@Override
	public boolean onSearchSignalReceived(String queryId, String queryJson) {
		Utils.logCall(TAG, "onSearchSignalReceived", queryId, queryJson);

		if (new SearchResponder(mSpf.getContext()).matches(queryJson)) {
			// XXX #SearchRefactor
			// - Merge with trigger query responder
			// - Use the right persona to fetch baseinfo (app name can be found in query json)
			// - Move everything in search maager and search performer classes

			BaseInfo info = mSpf.getProfileManager().getBaseInfo(SPFPersona.getDefault());
			mSpf.sendSearchResult(queryId, info);
			return true;
		}

		return false;
	}
@Override
	public boolean onSearchSignalReceived(String queryId, String queryJson) {
		Utils.logCall(TAG, "onSearchSignalReceived", queryId, queryJson);

		if (new SearchResponder(mSpf.getContext()).matches(queryJson)) {
			
			
			
			

			BaseInfo info = mSpf.getProfileManager().getBaseInfo(SPFPersona.getDefault());
			mSpf.sendSearchResult(queryId, info);
			return true;
		}

		return false;
	}
@ Override public boolean onSearchSignalReceived ( String queryId , String queryJson ) { Utils . logCall ( TAG , "onSearchSignalReceived" , queryId , queryJson ) ; if ( new SearchResponder ( mSpf . getContext ( ) ) . matches ( queryJson ) ) { // XXX #SearchRefactor // - Merge with trigger query responder // - Use the right persona to fetch baseinfo (app name can be found in query json) // - Move everything in search maager and search performer classes BaseInfo info = mSpf . getProfileManager ( ) . getBaseInfo ( SPFPersona . getDefault ( ) ) ; mSpf . sendSearchResult ( queryId , info ) ; return true ; } return false ; }
/*
(non-Javadoc)

@see it.polimi.spf.framework.proximity.ProximityResponder#
onSearchSignalReceived(java.lang.String, java.lang.String)
/ * ( non - Javadoc )