Make libutils symbols protected
This change is a workaround for apps linking
libutils statically and dynamically which causes
them to crash for newer version of Android.
Bug: http://b/27313399
Change-Id: I47ac4146041b6eeef03cb605ea436719d552ec8f
(cherry picked from commit 2c7960c8d9
)
This commit is contained in:
parent
faf7946bd7
commit
96ccb85fa2
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ LOCAL_SRC_FILES:= \
|
|||
ifeq ($(TARGET_ARCH),mips)
|
||||
LOCAL_CFLAGS += -DALIGN_DOUBLE
|
||||
endif
|
||||
LOCAL_CFLAGS += -Werror
|
||||
LOCAL_CFLAGS += -Werror -fvisibility=protected
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libcutils \
|
||||
|
|
Loading…
Reference in a new issue