diff options
author | Rui Marinho <me@ruimarinho.net> | 2016-05-25 14:50:21 +0100 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-05-25 14:50:21 +0100 |
commit | c502f47980882e61402f77a55236653a22f706ab (patch) | |
tree | e2465e2bb273825b5a65ff6eebfaf58ae8db9549 /Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs | |
parent | f1b61260959983a099430c02318fc4fc3aa9d9c4 (diff) | |
download | xamarin-forms-c502f47980882e61402f77a55236653a22f706ab.tar.gz xamarin-forms-c502f47980882e61402f77a55236653a22f706ab.tar.bz2 xamarin-forms-c502f47980882e61402f77a55236653a22f706ab.zip |
[Android] Implement the AppIndexProvider on non-AppCompact, fix KeyValues on AppLinkEntry (#166)
* [Android] Set AppIndexingProvider on non AppCompact activity
* [Core] Fix AppLinkEntry KeyValues
Diffstat (limited to 'Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs b/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs index 31225f9f..ca862d1c 100644 --- a/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs +++ b/Xamarin.Forms.Platform.Android/FormsApplicationActivity.cs @@ -100,6 +100,8 @@ namespace Xamarin.Forms.Platform.Android if (application == null) throw new ArgumentNullException("application"); + (application as IApplicationController)?.SetAppIndexingProvider(new AndroidAppIndexProvider(this)); + _application = application; Xamarin.Forms.Application.Current = application; |