From 818e140120bf57fe70e73d02b5dcf2fe3fe73cdb Mon Sep 17 00:00:00 2001 From: Victor Hsieh Date: Fri, 17 Nov 2023 04:07:09 +0000 Subject: Remove refererence from public API to flagged API in FileIntegrityManager Bug: 310904883 Change-Id: Ib7694130bed1aa0ab7dbb8a1f9d6d8b1c49c56f4 Test: N/A --- core/java/android/security/FileIntegrityManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/java/android/security/FileIntegrityManager.java b/core/java/android/security/FileIntegrityManager.java index dae3202b2043..025aac962fb9 100644 --- a/core/java/android/security/FileIntegrityManager.java +++ b/core/java/android/security/FileIntegrityManager.java @@ -53,10 +53,10 @@ public final class FileIntegrityManager { * verification, although the app APIs are only made available to apps in a later SDK version. * Only when this method returns true, the other fs-verity APIs in the same class can succeed. * - *

The app may not need this method and just call the other APIs (i.e. {@link - * #setupFsVerity(File)} and {@link #getFsVerityDigest(File)}) normally and handle any failure. - * If some app feature really depends on fs-verity (e.g. protecting integrity of a large file - * download), an early check of support status may avoid any cost if it is to fail late. + *

The app may not need this method and just call the other APIs normally and handle any + * failure. If some app feature really depends on fs-verity (e.g. protecting integrity of a + * large file download), an early check of support status may avoid any cost if it is to fail + * late. * *

Note: for historical reasons this is named {@code isApkVeritySupported()} instead of * {@code isFsVeritySupported()}. It has also been available since API level 30, predating the -- cgit v1.2.3-59-g8ed1b