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
This commit is contained in:
Kenny Root
2010-10-13 12:37:18 -07:00
parent dfc07279fc
commit 19dcd2aeba
2 changed files with 7 additions and 7 deletions

View File

@@ -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;

View File

@@ -74,10 +74,10 @@ enum {
AOBB_STATE_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. Can be returned as the status for
* callbacks made during asynchronous OBB actions.
* 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. Can be returned as the status for callbacks made during
* asynchronous OBB actions.
*/
AOBB_STATE_ERROR_PERMISSION_DENIED = 25,
};