forked from organicmaps/organicmaps
Added lead enum to android.
This commit is contained in:
parent
cdf8dd1e4c
commit
f83df09f10
2 changed files with 4 additions and 1 deletions
|
@ -1454,6 +1454,8 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
|||
case ParsedUrlMwmRequest.RESULT_SEARCH:
|
||||
final ParsedSearchRequest request = Framework.nativeGetParsedSearchRequest();
|
||||
return true;
|
||||
case ParsedUrlMwmRequest.RESULT_LEAD:
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
@ -11,13 +11,14 @@ import java.lang.annotation.RetentionPolicy;
|
|||
public class ParsedUrlMwmRequest
|
||||
{
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
@IntDef({RESULT_INCORRECT, RESULT_MAP, RESULT_ROUTE, RESULT_SEARCH})
|
||||
@IntDef({RESULT_INCORRECT, RESULT_MAP, RESULT_ROUTE, RESULT_SEARCH, RESULT_LEAD})
|
||||
public @interface ParsingResult {}
|
||||
|
||||
public static final int RESULT_INCORRECT = 0;
|
||||
public static final int RESULT_MAP = 1;
|
||||
public static final int RESULT_ROUTE = 2;
|
||||
public static final int RESULT_SEARCH = 3;
|
||||
public static final int RESULT_LEAD = 4;
|
||||
|
||||
public final RoutePoint[] mRoutePoints;
|
||||
public final String mGlobalUrl;
|
||||
|
|
Loading…
Add table
Reference in a new issue