From df6099d688b7ba2bd771e033f54f063c1e8f2146 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Mon, 15 Nov 2021 17:52:08 -0800 Subject: [PATCH] Fix CC-BY-ND licenses Should be by_exception_only Test: m nothing Change-Id: Ic93eacfd7f85d2f86fe5cc8ff35cd1c51cfdb54a --- licenses/Android.bp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/licenses/Android.bp b/licenses/Android.bp index a983b5bc7..5b764dcd4 100644 --- a/licenses/Android.bp +++ b/licenses/Android.bp @@ -492,36 +492,36 @@ license_kind { license_kind { name: "SPDX-license-identifier-CC-BY-ND", - conditions: ["restricted"], + conditions: ["by_exception_only"], } license_kind { name: "SPDX-license-identifier-CC-BY-ND-1.0", - conditions: ["restricted"], + conditions: ["by_exception_only"], url: "https://spdx.org/licenses/CC-BY-ND-1.0.html", } license_kind { name: "SPDX-license-identifier-CC-BY-ND-2.0", - conditions: ["restricted"], + conditions: ["by_exception_only"], url: "https://spdx.org/licenses/CC-BY-ND-2.0.html", } license_kind { name: "SPDX-license-identifier-CC-BY-ND-2.5", - conditions: ["restricted"], + conditions: ["by_exception_only"], url: "https://spdx.org/licenses/CC-BY-ND-2.5.html", } license_kind { name: "SPDX-license-identifier-CC-BY-ND-3.0", - conditions: ["restricted"], + conditions: ["by_exception_only"], url: "https://spdx.org/licenses/CC-BY-ND-3.0.html", } license_kind { name: "SPDX-license-identifier-CC-BY-ND-4.0", - conditions: ["restricted"], + conditions: ["by_exception_only"], url: "https://spdx.org/licenses/CC-BY-ND-4.0.html", } @@ -562,7 +562,10 @@ license_kind { license_kind { name: "SPDX-license-identifier-CC-BY-SA-ND", - conditions: ["restricted"], + conditions: [ + "restricted", + "by_exception_only", + ], } license_kind {