From d3da0bc7c13eda11e75a83c8138edb8222fd6c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bram=20Bonn=C3=A9?= Date: Thu, 17 Jun 2021 11:53:45 +0200 Subject: [PATCH] Fix targetSDK javadoc. Ensure ">=" is rendered correctly in Javadoc, and fix description for target SDK versions to be more accurate. Bug: 190375530 Test: make Change-Id: Ib525217c10a3de13beee8d6d6dcf76300b1e24f7 --- services/core/java/com/android/server/pm/SELinuxMMAC.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core/java/com/android/server/pm/SELinuxMMAC.java b/services/core/java/com/android/server/pm/SELinuxMMAC.java index b72da23d6717a..4ba73688fa806 100644 --- a/services/core/java/com/android/server/pm/SELinuxMMAC.java +++ b/services/core/java/com/android/server/pm/SELinuxMMAC.java @@ -79,7 +79,7 @@ public final class SELinuxMMAC { /** * Allows opt-in to the latest targetSdkVersion enforced changes without changing target SDK. - * Turning this change off for an app targeting >= the latest SDK is a no-op. + * Turning this change off for an app targeting the latest SDK or higher is a no-op. * *

Has no effect for apps using shared user id. * @@ -92,7 +92,7 @@ public final class SELinuxMMAC { /** * This change gates apps access to untrusted_app_R-targetSDK SELinux domain. Allows opt-in * to R targetSdkVersion enforced changes without changing target SDK. Turning this change - * off for an app targeting >= S is a no-op. + * off for an app targeting {@code >= android.os.Build.VERSION_CODES.R} is a no-op. * *

Has no effect for apps using shared user id. *