-
Notifications
You must be signed in to change notification settings - Fork 565
[Mono.Android] Add pathSuffix and pathAdvancedPattern to [IntentFilter]
#8261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ | |
| <AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
| <OutputPath>$(MicrosoftAndroidSdkOutDir)</OutputPath> | ||
| <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
| <DefineConstants>$(DefineConstants);TRACE;HAVE_CECIL;MSBUILD;ANDROID_24</DefineConstants> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is a block above like: #if ANDROID_25
public string? RoundIcon {get; set;}
#endifIs it possible
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are tests for it, so I assume it works: I think it uses some sort of alternative method, as the value is processed in a local variable since the property isn't available: |
||
| <DefineConstants>$(DefineConstants);TRACE;HAVE_CECIL;MSBUILD;ANDROID_24;ANDROID_26;ANDROID_31</DefineConstants> | ||
| <AndroidGeneratedClassDirectory Condition=" '$(AndroidGeneratedClassDirectory)' == '' ">..\..\src\Mono.Android\obj\$(Configuration)\$(DotNetTargetFramework)\android-$(AndroidLatestStablePlatformId)\mcw</AndroidGeneratedClassDirectory> | ||
| <NoWarn>8632</NoWarn> | ||
| <SignAssembly>false</SignAssembly> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't "feel" right to me, in that we're adding both
DataPathSuffixandDataPathSuffixes, but this code only deals withDataPathSuffixes, notDataPathSuffix. Ditto the following line, which appears to deal only withDataPathAdvancedPatterns, and notDataPathAdvancedPattern.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This class felt like maybe the code was trying to be too "clever", hindering readability. It would likely get rewritten to something a little more straightforward if/when we do this: #8272.