From 6ce074f2de90da5e975908a10d04f3ac804024be Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Tue, 12 Dec 2017 18:01:09 -0800 Subject: [PATCH] PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE is deprecated. It is replaced by FCM Version specified in the device manifest directly. Test: builds Bug: 69636193 Change-Id: I9e2b871b4c6190107ba9fbb36495bb41c461a0a3 --- Changes.md | 5 +++++ core/config.mk | 1 + 2 files changed, 6 insertions(+) diff --git a/Changes.md b/Changes.md index 53ff007f2..3e48bad6e 100644 --- a/Changes.md +++ b/Changes.md @@ -86,6 +86,11 @@ path: $(TARGET): myscript.py $(sort $(shell find my/python/lib -name '*.py')) PYTHONPATH=my/python/lib:$$PYTHONPATH myscript.py -o $@ ``` +### Stop using PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE directly {#PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE} + +Specify Framework Compatibility Matrix Version in device manifest by adding a `target-level` +attribute to the root element ``. If `PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE` +is 26 or 27, you can add `"target-level"="1"` to your device manifest instead. ### Other envsetup.sh variables {#other_envsetup_variables} diff --git a/core/config.mk b/core/config.mk index bf86fa8be..cfea0a50e 100644 --- a/core/config.mk +++ b/core/config.mk @@ -75,6 +75,7 @@ $(KATI_obsolete_var \ ANDROID_EMULATOR_PREBUILTS \ ANDROID_PRE_BUILD_PATHS \ ,See $(CHANGES_URL)#other_envsetup_variables) +$(KATI_obsolete_var PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE,Set FCM Version in device manifest instead. See $(CHANGES_URL)#PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDE) CHANGES_URL :=