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:
@@ -79,6 +79,9 @@ namespace keepass2android
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//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))
|
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppGet, false))
|
||||||
_displayedProtocolIds.Add("androidget");
|
_displayedProtocolIds.Add("androidget");
|
||||||
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppSend, false))
|
if (context.Intent.GetBooleanExtra(AllowThirdPartyAppSend, false))
|
||||||
|
|||||||
Reference in New Issue
Block a user