mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-19 14:19:53 +01:00
Merge branch '925_panic_app_market' into 'master'
Refine the panic app list tap behavior Closes #925 See merge request !511
This commit is contained in:
@@ -128,7 +128,12 @@ public class PanicPreferencesFragment extends PreferenceFragmentCompat
|
|||||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||||
intent.setData(Uri.parse(
|
intent.setData(Uri.parse(
|
||||||
"market://details?id=info.guardianproject.ripple"));
|
"market://details?id=info.guardianproject.ripple"));
|
||||||
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
|
if (intent.resolveActivity(
|
||||||
|
getActivity().getPackageManager()) !=
|
||||||
|
null) {
|
||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user