Set jack.assert.policy value to 'always'
The policy value 'enable' does not exist anymore and was replaced by 'always' Change-Id: I233a555821a84d917e3b3ec923b5baffc18bd2d2
This commit is contained in:
@@ -36,7 +36,7 @@ LOCAL_JACK_FLAGS := \
|
||||
|
||||
# Only enable asserts on userdebug/eng builds
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
LOCAL_JACK_FLAGS += -D jack.assert.policy=enable
|
||||
LOCAL_JACK_FLAGS += -D jack.assert.policy=always
|
||||
endif
|
||||
|
||||
LOCAL_PACKAGE_NAME := DocumentsUI
|
||||
|
||||
@@ -11,7 +11,7 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
||||
|
||||
# Only enable asserts on userdebug/eng builds
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
LOCAL_JACK_FLAGS += -D jack.assert.policy=enable
|
||||
LOCAL_JACK_FLAGS += -D jack.assert.policy=always
|
||||
endif
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
Reference in New Issue
Block a user