mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 02:39:05 +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.setData(Uri.parse(
|
||||
"market://details?id=info.guardianproject.ripple"));
|
||||
startActivity(intent);
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||
if (intent.resolveActivity(
|
||||
getActivity().getPackageManager()) !=
|
||||
null) {
|
||||
startActivity(intent);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
});
|
||||
@@ -236,7 +241,7 @@ public class PanicPreferencesFragment extends PreferenceFragmentCompat
|
||||
};
|
||||
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(getContext(),
|
||||
R.style.BriarDialogTheme);
|
||||
R.style.BriarDialogTheme);
|
||||
builder.setTitle(getString(R.string.dialog_title_connect_panic_app));
|
||||
|
||||
CharSequence app = getString(R.string.unknown_app);
|
||||
|
||||
Reference in New Issue
Block a user