Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad8aafc3 authored by David Brazdil's avatar David Brazdil Committed by android-build-merger
Browse files

Merge "Add flag to control hidden API warning toasts" am: 4e6c5218 am: 744c286b

am: ebbd39f4

Change-Id: If83b5b32ac6d24baf389d7b68ce63c876b1ef931
parents 2f60353c ebbd39f4
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -189,14 +189,16 @@ include build/make/core/pdk_config.mk

#
# -----------------------------------------------------------------
# Enable dynamic linker developer warnings for userdebug, eng
# and non-REL builds
# Enable dynamic linker and hidden API developer warnings for
# userdebug, eng and non-REL builds
ifneq ($(TARGET_BUILD_VARIANT),user)
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1 \
                                 ro.art.hiddenapi.warning=1
else
# Enable it for user builds as long as they are not final.
ifneq ($(PLATFORM_VERSION_CODENAME),REL)
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1
  ADDITIONAL_BUILD_PROPERTIES += ro.bionic.ld.warning=1 \
                                 ro.art.hiddenapi.warning=1
endif
endif