Skip to content

Commit a43f3cc

Browse files
committed
[Mono.Android] Do not throw in JniValueManager
The new marshaling code uses `JniValueManager`, so we don't want to trow here. Just keep it empty to make things work, until we have proper implementation of it.
1 parent 778d9e4 commit a43f3cc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Mono.Android/Android.Runtime/AndroidRuntime.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,10 @@ public override void WaitForGCBridgeProcessing ()
363363

364364
public override void AddPeer (IJavaPeerable value)
365365
{
366-
throw new NotImplementedException ();
367366
}
368367

369368
public override void RemovePeer (IJavaPeerable value)
370369
{
371-
throw new NotImplementedException ();
372370
}
373371

374372
public override IJavaPeerable PeekPeer (JniObjectReference reference)
@@ -378,17 +376,15 @@ public override IJavaPeerable PeekPeer (JniObjectReference reference)
378376

379377
public override void CollectPeers ()
380378
{
381-
throw new NotImplementedException ();
382379
}
383380

384381
public override void FinalizePeer (IJavaPeerable value)
385382
{
386-
throw new NotImplementedException ();
387383
}
388384

389385
public override List<JniSurfacedPeerInfo> GetSurfacedPeers ()
390386
{
391-
throw new NotImplementedException ();
387+
return null;
392388
}
393389
}
394390
}

0 commit comments

Comments
 (0)