[XABT] Fix build errors caused by enabling nullable checks in the tasks #10110
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: #10099
Context: #9918
#10099 enabled NRT checks for a number of XABT Tasks and was merged because all the tests passed. However, #10099 was not rebased on the tip of
main
which, in the meantime, contained code from the recently merged #9918 PR. #9918 introduced a couple ofstring
properties to theAndroidComputeResPaths
andCreateAar
tasks, which were not nullable annotated.This resulted in the following build errors once #10099 was merged:
This PR makes the
PrefixProperty
properties[Required]
(because of the way they are used in the tasks) and assigns default values to them, as per convention introduced in #10099