summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-10-13 12:37:18 -0700
committerKenny Root <kroot@google.com>2010-10-13 12:37:18 -0700
commit19dcd2aeba184f81b140b4fbc692bdd80a51299e (patch)
treeabadf161e0f2bbdb69ddf1d82d1c5089e7bfa6c1 /core
parentdfc07279fc6205c38f5f39cb5ba4f0aef6b593a4 (diff)
downloadframeworks_base-19dcd2aeba184f81b140b4fbc692bdd80a51299e.zip
frameworks_base-19dcd2aeba184f81b140b4fbc692bdd80a51299e.tar.gz
frameworks_base-19dcd2aeba184f81b140b4fbc692bdd80a51299e.tar.bz2
OBB: Change documentation to reflect reality
We can't reliably detect when the key for an OBB is incorrect, so just remove the mention in the documentation. It still returns an error, but just not the most specific error. Bug: 3091064 Change-Id: I70e506822f2178a0ac5e4617fe545b23ce0026f4
Diffstat (limited to 'core')
-rw-r--r--core/java/android/os/storage/OnObbStateChangeListener.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/os/storage/OnObbStateChangeListener.java b/core/java/android/os/storage/OnObbStateChangeListener.java
index 950195b..1fb1782 100644
--- a/core/java/android/os/storage/OnObbStateChangeListener.java
+++ b/core/java/android/os/storage/OnObbStateChangeListener.java
@@ -67,9 +67,9 @@ public abstract class OnObbStateChangeListener {
public static final int ERROR_ALREADY_MOUNTED = 24;
/**
- * The current application does not have permission to use this OBB because
- * the OBB indicates it's owned by a different package or the key used to
- * open it is incorrect. Returned in status messages from calls made via
+ * The current application does not have permission to use this OBB. This
+ * could be because the OBB indicates it's owned by a different package or
+ * some other error. Returned in status messages from calls made via
* {@link StorageManager}
*/
public static final int ERROR_PERMISSION_DENIED = 25;