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

Commit 33df937f authored by Andres Morales's avatar Andres Morales
Browse files

Mark PDB identifier as SystemApi

Had already marked the API itself as system api, just not
the Context.BLAH id. Also update the javadoc as it doesn't
return an FD anymore.

Change-Id: Ic8a5b8c75b0ba0bdf4ad26cf33d5f87eea568376
parent 2bac6129
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -2883,12 +2883,14 @@ public abstract class Context {

    /**
     * Use with {@link #getSystemService} to retrieve a {@link
     * android.service.persistentdata.PersistentDataBlockManager} instance retrieving
     * a file descriptor for a persistent data block.
     * android.service.persistentdata.PersistentDataBlockManager} instance
     * for interacting with a storage device that lives across factory resets.
     *
     * @see #getSystemService
     * @see android.service.persistentdata.PersistentDataBlockManager
     * @hide
     */
    @SystemApi
    public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block";

    /**