We handle market:// now, so open play.google.com directly
This commit is contained in:
parent
eaa94bdf83
commit
948dfa55ec
@ -621,12 +621,7 @@ public class AppDetails extends ListActivity {
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
case MARKET:
|
case MARKET:
|
||||||
try {
|
|
||||||
startActivity(new Intent(Intent.ACTION_VIEW,
|
|
||||||
Uri.parse("market://details?id=" + app.id)));
|
|
||||||
} catch (android.content.ActivityNotFoundException e) {
|
|
||||||
tryOpenUri("https://play.google.com/store/apps/details?id=" + app.id);
|
tryOpenUri("https://play.google.com/store/apps/details?id=" + app.id);
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// TODO: Separate donate links if there are many (e.g. paypal and
|
// TODO: Separate donate links if there are many (e.g. paypal and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user