Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3a4b4d1 authored by Jeff Tinker's avatar Jeff Tinker
Browse files

Clarify getMaxSecurityLevel in MediaDrm java doc

Test:builds

bug:109858369
Change-Id: I13fe3383ac7260b0ac86ae306339704869946112
parent 33110132
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1192,15 +1192,17 @@ public final class MediaDrm implements AutoCloseable {
    public static final int SECURITY_LEVEL_HW_SECURE_ALL = 5;

    /**
     * The maximum security level supported by the device. This is the default
     * security level when a session is opened.
     * Indicates that the maximum security level supported by the device should
     * be used when opening a session. This is the default security level
     * selected when a session is opened.
     * @hide
     */
    public static final int SECURITY_LEVEL_MAX = 6;

    /**
     * The maximum security level supported by the device. This is the default
     * security level when a session is opened.
     * Returns a value that may be passed as a parameter to {@link #openSession(int)}
     * requesting that the session be opened at the maximum security level of
     * the device.
     */
    @SecurityLevel
    public static final int getMaxSecurityLevel() {