1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-25 04:33:36 +00:00

some device functions

This commit is contained in:
Kyle Spearrin
2019-05-17 13:46:32 -04:00
parent 3e633dc38e
commit a3e165fa06
3 changed files with 28 additions and 11 deletions

View File

@@ -318,6 +318,16 @@ namespace Bit.Droid.Services
return manager.IsAutofillSupported;
}
public int SystemMajorVersion()
{
return (int)Build.VERSION.SdkInt;
}
public string SystemModel()
{
return Build.Model;
}
private bool DeleteDir(Java.IO.File dir)
{
if(dir != null && dir.IsDirectory)