summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.ControlGallery.Android
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@gmail.com>2017-10-03 16:44:41 (GMT)
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 04:33:58 (GMT)
commit21b57d811b75440c4cc954074f95c981e30f3ad0 (patch)
treea5afc0a192bbeb3ad21cfb6c70e4e7e7745796a7 /Xamarin.Forms.ControlGallery.Android
parent250d04e0bf50705b7fadfd1ff4a703b5607d22b8 (diff)
downloadxamarin-forms-21b57d811b75440c4cc954074f95c981e30f3ad0.zip
xamarin-forms-21b57d811b75440c4cc954074f95c981e30f3ad0.tar.gz
xamarin-forms-21b57d811b75440c4cc954074f95c981e30f3ad0.tar.bz2
Force the restart test to reset to the home screen
Diffstat (limited to 'Xamarin.Forms.ControlGallery.Android')
-rw-r--r--Xamarin.Forms.ControlGallery.Android/Activity1.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.ControlGallery.Android/Activity1.cs b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
index 9036cc5..bb78d31 100644
--- a/Xamarin.Forms.ControlGallery.Android/Activity1.cs
+++ b/Xamarin.Forms.ControlGallery.Android/Activity1.cs
@@ -169,6 +169,8 @@ namespace Xamarin.Forms.ControlGallery.Android
// And put things back to normal so we can keep running tests
uiModeManager.DisableCarMode(DisableCarModeFlags.None);
+
+ ((App)Xamarin.Forms.Application.Current).Reset();
});
}
}