mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
[EC-325] Settings option to allow screen capture on Android (#1914)
* settings option to allow screen capture on Android * Improved code on Screen Capture and added prompt to the user to allow screen capture * EC-325 Removed async on OnCreate of MainActivity given that's not necessary anymore Co-authored-by: Federico Maccaroni <fedemkr@gmail.com>
This commit is contained in:
committed by
GitHub
parent
cb0c52fb26
commit
cf222bd0c3
@@ -604,6 +604,12 @@ namespace Bit.iOS.Core.Services
|
||||
await ASHelpers.ReplaceAllIdentities();
|
||||
}
|
||||
|
||||
public Task SetScreenCaptureAllowedAsync()
|
||||
{
|
||||
// only used by Android. Not possible in iOS
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public class PickerDelegate : UIDocumentPickerDelegate
|
||||
{
|
||||
private readonly DeviceActionService _deviceActionService;
|
||||
|
||||
Reference in New Issue
Block a user