mirror of
https://github.com/bitwarden/mobile
synced 2025-01-30 02:05:39 +01:00
thread policy
This commit is contained in:
parent
bfeddd6d99
commit
81d972a462
@ -41,6 +41,9 @@ namespace Bit.Droid
|
||||
_lockAlarmPendingIntent = PendingIntent.GetBroadcast(this, 0, alarmIntent,
|
||||
PendingIntentFlags.UpdateCurrent);
|
||||
|
||||
var policy = new StrictMode.ThreadPolicy.Builder().PermitAll().Build();
|
||||
StrictMode.SetThreadPolicy(policy);
|
||||
|
||||
_deviceActionService = ServiceContainer.Resolve<IDeviceActionService>("deviceActionService");
|
||||
_messagingService = ServiceContainer.Resolve<IMessagingService>("messagingService");
|
||||
_broadcasterService = ServiceContainer.Resolve<IBroadcasterService>("broadcasterService");
|
||||
|
Loading…
x
Reference in New Issue
Block a user