Loading core/java/android/security/FileIntegrityManager.java +4 −4 Original line number Diff line number Diff line Loading @@ -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. * * <p>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. * <p>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. * * <p>Note: for historical reasons this is named {@code isApkVeritySupported()} instead of * {@code isFsVeritySupported()}. It has also been available since API level 30, predating the Loading Loading
core/java/android/security/FileIntegrityManager.java +4 −4 Original line number Diff line number Diff line Loading @@ -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. * * <p>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. * <p>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. * * <p>Note: for historical reasons this is named {@code isApkVeritySupported()} instead of * {@code isFsVeritySupported()}. It has also been available since API level 30, predating the Loading