Revert "Update Forms.cs"
authorAlan McGovern <alan@xamarin.com>
Tue, 19 Feb 2019 08:56:36 +0000 (08:56 +0000)
committerAlan McGovern <alan@xamarin.com>
Tue, 19 Feb 2019 08:56:36 +0000 (08:56 +0000)
This reverts commit e4fa2c0603dab511fef9cb72daa2a4a5c6222082.

Xamarin.Forms.Platform.Android/Forms.cs

index 3309e9e..b52f4c1 100644 (file)
@@ -70,7 +70,7 @@ namespace Xamarin.Forms
                // Why is bundle a param if never used?
                public static void Init(Context activity, Bundle bundle)
                {
-                       Assembly resourceAssembly = AppDomain.GetEntryAssembly ();
+                       Assembly resourceAssembly = Assembly.GetCallingAssembly();
                        SetupInit(activity, resourceAssembly);
                }