Merge branch 'r3.9'

This commit is contained in:
Vitaliy 2021-03-19 16:24:56 +02:00
commit aa95f686f4

View file

@ -734,7 +734,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
public static void showDialogInstance(@NonNull OsmandApplication app, @NonNull FragmentManager manager,
@NonNull ChoosePlanDialogType dialogType) {
if (Version.isAmazon() && !Version.isPaidVersion(app)) {
if (Version.isAmazon()) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Version.getUrlWithUtmRef(app, "net.osmand.plus")));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
if (AndroidUtils.isIntentSafe(app, intent)) {