diff options
author | 2022-03-15 23:40:05 +0000 | |
---|---|---|
committer | 2022-03-15 23:40:05 +0000 | |
commit | a90b4e7b44c3043bb1979bb981f65ce36d67222d (patch) | |
tree | 3fd69d0c0fb8cdab9a464da7c702acf84777586a | |
parent | dba92c2a356cb601fd3daf51fedce526c4752684 (diff) | |
parent | 7f0fdc14f5f80f741a0f45dbb0d5f7beed617e95 (diff) |
Merge "Clarify meaning of key parameter to AStorageManager_mountObb()"
-rw-r--r-- | include/android/storage_manager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/android/storage_manager.h b/include/android/storage_manager.h index 7f2ee08d62..270570e0df 100644 --- a/include/android/storage_manager.h +++ b/include/android/storage_manager.h @@ -124,6 +124,12 @@ typedef void (*AStorageManager_obbCallbackFunc)(const char* filename, const int3 /** * Attempts to mount an OBB file. This is an asynchronous operation. + * + * Since API level 33, this function can only be used to mount unencrypted OBBs, + * i.e. the {@code key} parameter must be {@code null} or an empty string. Note + * that even before API level 33, mounting encrypted OBBs didn't work on many + * Android device implementations. Applications should not assume any particular + * behavior when {@code key} is nonempty. */ void AStorageManager_mountObb(AStorageManager* mgr, const char* filename, const char* key, AStorageManager_obbCallbackFunc cb, void* data); |