Révision 794b5a8e TestXamConnections/TestXamConnections.Android/Connection/InternConnectionService.cs
TestXamConnections/TestXamConnections.Android/Connection/InternConnectionService.cs | ||
---|---|---|
42 | 42 |
IntentFilter intentFilter = new IntentFilter(); |
43 | 43 |
intents.ForEach(intent => intentFilter.AddAction(intent)); |
44 | 44 |
|
45 |
appContext.RegisterReceiver(intentReceiver, intentFilter);
|
|
45 |
await Task.Run( () => appContext.RegisterReceiver(intentReceiver, intentFilter) );
|
|
46 | 46 |
} |
47 | 47 |
else |
48 | 48 |
{ |
Formats disponibles : Unified diff