Fix minimum sdk using @hide API
DocumentsUI is a mainline module being required to have minimum sdk. To use @hide API and this API may be public, it will give -2 in presubmit process. Mark the functions have the usage of OverlayManager. Bug: 249664195 Reference: go/mainline-newapi#strict-updatability-linting Reference: go/mainline-newapi#suppressing-specific-calls Test: OUT_SOONG="out/soong/.intermediates" ; \ DOCSUI_PATH="vendor/unbundled_google/packages/DocumentsUIGoogle"; \ PIM="DocumentsUIGoogle/android_common/lint/"; \ m ${OUT_SOONG}/${DOCSUI_PATH}/${PIM}/lint-baseline.xml Test: presubmit Change-Id: Icbbde81e841392a5189d77aad62bd4d0f2f4b81f
Loading
Please register or sign in to comment