Skip to content

Commit 33df937

Browse files
author
Andres Morales
committed
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
1 parent 2bac612 commit 33df937

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

core/java/android/content/Context.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2883,12 +2883,14 @@ public abstract boolean startInstrumentation(@NonNull ComponentName className,
28832883

28842884
/**
28852885
* Use with {@link #getSystemService} to retrieve a {@link
2886-
* android.service.persistentdata.PersistentDataBlockManager} instance retrieving
2887-
* a file descriptor for a persistent data block.
2886+
* android.service.persistentdata.PersistentDataBlockManager} instance
2887+
* for interacting with a storage device that lives across factory resets.
2888+
*
28882889
* @see #getSystemService
28892890
* @see android.service.persistentdata.PersistentDataBlockManager
28902891
* @hide
28912892
*/
2893+
@SystemApi
28922894
public static final String PERSISTENT_DATA_BLOCK_SERVICE = "persistent_data_block";
28932895

28942896
/**

0 commit comments

Comments
 (0)