summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-04-12 08:53:36 -0700
committerJason Smith <jason.smith@xamarin.com>2016-04-12 08:53:36 -0700
commitba2a434ec13370cc4814b54f6ce51d4d16594f97 (patch)
treece0d082e4e114fa689e7c5eee3da9d892b11f49c /Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
parent0a20bdaa3c373ec303c9a94ae45ecaa144996ba5 (diff)
downloadxamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.tar.gz
xamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.tar.bz2
xamarin-forms-ba2a434ec13370cc4814b54f6ce51d4d16594f97.zip
Add compatibility shims to fix warnings; annotate warnings which require (#75)
more thought to fix; Fix a few more warnings VS didn't see fit to raise as errors Adding comments to `pragma warning disable` statements pragma comments Fix typo Set TabletMasterDetailRenderer back to previous version Fix incorrect config access in legacy activity
Diffstat (limited to 'Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
index 4e1881c4..f24c8d45 100644
--- a/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
+++ b/Xamarin.Forms.Platform.Android/Renderers/FrameRenderer.cs
@@ -32,9 +32,7 @@ namespace Xamarin.Forms.Platform.Android
void UpdateBackground()
{
-#pragma warning disable 618
- SetBackgroundDrawable(new FrameDrawable(Element));
-#pragma warning restore 618
+ this.SetBackground(new FrameDrawable(Element));
}
class FrameDrawable : Drawable