Stop allowing missing last-api files by default
Bug: 176092454 Test: m nothing Change-Id: I9eadcb774e9898bb4f43054661826326b2c527c2
This commit is contained in:
parent
8bfb63c5a9
commit
0615864046
1 changed files with 1 additions and 2 deletions
|
@ -1357,8 +1357,7 @@ func (module *SdkLibrary) createStubsSourcesAndApi(mctx android.DefaultableHookC
|
|||
// check against the not-yet-release API
|
||||
props.Check_api.Current.Api_file = proptools.StringPtr(currentApiFileName)
|
||||
props.Check_api.Current.Removed_api_file = proptools.StringPtr(removedApiFileName)
|
||||
// TODO(b/176092454): change true to module.sdkLibraryProperties.Unsafe_ignore_missing_latest_api
|
||||
props.Check_api.Ignore_missing_latest_api = proptools.BoolPtr(true)
|
||||
props.Check_api.Ignore_missing_latest_api = proptools.BoolPtr(module.sdkLibraryProperties.Unsafe_ignore_missing_latest_api)
|
||||
|
||||
if !apiScope.unstable {
|
||||
// check against the latest released API
|
||||
|
|
Loading…
Reference in a new issue