From 33df937f6f187006b653b030154a1e891410d0ae Mon Sep 17 00:00:00 2001 From: Andres Morales Date: Fri, 26 Sep 2014 17:08:59 -0700 Subject: [PATCH] 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 --- core/java/android/content/Context.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java index 158a40cd2eb52..4e2aca0f4e439 100644 --- a/core/java/android/content/Context.java +++ b/core/java/android/content/Context.java @@ -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"; /**