Merge branch 'r3.9'
This commit is contained in:
commit
aa95f686f4
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
||||||
|
|
||||||
public static void showDialogInstance(@NonNull OsmandApplication app, @NonNull FragmentManager manager,
|
public static void showDialogInstance(@NonNull OsmandApplication app, @NonNull FragmentManager manager,
|
||||||
@NonNull ChoosePlanDialogType dialogType) {
|
@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 intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Version.getUrlWithUtmRef(app, "net.osmand.plus")));
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
if (AndroidUtils.isIntentSafe(app, intent)) {
|
if (AndroidUtils.isIntentSafe(app, intent)) {
|
||||||
|
|
Loading…
Reference in a new issue