[android] Skip popup processing for API < 11.

This commit is contained in:
vng 2015-04-01 16:00:20 +03:00 committed by Alex Zolotarev
parent 1bb830344d
commit 3c74572021

View file

@ -759,6 +759,10 @@ public class PlacePageView extends RelativeLayout implements View.OnClickListene
@Override
public boolean onLongClick(View v)
{
/// @todo Review this code in case of API level < 11.
if (Utils.apiLowerThan(11))
return true;
final Object tag = v.getTag();
final String tagStr = tag == null ? "" : tag.toString();
AlohaHelper.logLongClick(tagStr);