Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84363162 authored by Eric Biggers's avatar Eric Biggers Committed by Automerger Merge Worker
Browse files

Merge "Clarify meaning of key parameter to AStorageManager_mountObb()" am:...

Merge "Clarify meaning of key parameter to AStorageManager_mountObb()" am: a90b4e7b am: 9375660c am: a83e726a am: be204679

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2008013

Change-Id: Ic5ebcbc088b0c468a7c05c4b8f11de52f296f0eb
parents 6ed85d7c be204679
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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);