mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
include crypto providers with crash reprot email
This commit is contained in:
parent
b5f5b0b4aa
commit
007125a071
1 changed files with 12 additions and 0 deletions
|
@ -246,6 +246,18 @@ namespace Bit.Android.Services
|
||||||
|
|
||||||
private void SendEmail(string text)
|
private void SendEmail(string text)
|
||||||
{
|
{
|
||||||
|
text += "\n\n";
|
||||||
|
var providers = Security.GetProviders();
|
||||||
|
foreach(var provider in providers)
|
||||||
|
{
|
||||||
|
text += ("provider: " + provider.Name + "\n");
|
||||||
|
var services = provider.Services;
|
||||||
|
foreach(var service in provider.Services)
|
||||||
|
{
|
||||||
|
text += ("- algorithm: " + service.Algorithm + "\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var emailIntent = new Intent(Intent.ActionSend);
|
var emailIntent = new Intent(Intent.ActionSend);
|
||||||
|
|
||||||
emailIntent.SetType("plain/text");
|
emailIntent.SetType("plain/text");
|
||||||
|
|
Loading…
Reference in a new issue