don't show "Third party app" in Android 11+ (doesn't work due to file access permissions, avoids confusion). Closes https://github.com/PhilippC/keepass2android/issues/1468, closes https://github.com/PhilippC/keepass2android/issues/1606
This commit is contained in:
@@ -77,9 +77,12 @@ namespace keepass2android
|
||||
{
|
||||
_displayedProtocolIds.Remove("file");
|
||||
}
|
||||
|
||||
|
||||
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppGet, false))
|
||||
|
||||
//starting with Android 11, we don't show the Third party app option. Due to restricted permissions,
|
||||
//this no longer works.
|
||||
if ((int)Build.VERSION.SdkInt < 30)
|
||||
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppGet, false))
|
||||
_displayedProtocolIds.Add("androidget");
|
||||
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppSend, false))
|
||||
_displayedProtocolIds.Add("androidsend");
|
||||
|
Reference in New Issue
Block a user