mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-24 16:49:55 +01:00
Refine the panic app list behavior
* Only open if a market is installed Signed-off-by: goapunk <noobie@goapunks.net>
This commit is contained in:
@@ -128,7 +128,12 @@ public class PanicPreferencesFragment extends PreferenceFragmentCompat
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse(
|
||||
"market://details?id=info.guardianproject.ripple"));
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
if (intent.resolveActivity(
|
||||
getActivity().getPackageManager()) !=
|
||||
null) {
|
||||
startActivity(intent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user