Skip to content

Commit

Permalink
Merge "Add @addtogroup to permission_manager.h for doc to appear in D…
Browse files Browse the repository at this point in the history
…AC" into sc-dev
  • Loading branch information
TreeHugger Robot authored and Android (Google) Code Review committed Feb 17, 2021
2 parents 72407f9 + 7f7db5a commit e2edd22
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions include/android/permission_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
* limitations under the License.
*/

/**
* Structures and functions related to permission checks in native code.
*
* @addtogroup Permission
* @{
*/

/**
* @file permission_manager.h
*/

#ifndef ANDROID_PERMISSION_MANAGER_H
#define ANDROID_PERMISSION_MANAGER_H

Expand Down Expand Up @@ -48,8 +59,8 @@ enum {
enum {
/**
* This is returned if the permission check completed without errors.
* The output result is valid and contains one of {PERMISSION_MANAGER_PERMISSION_GRANTED,
* PERMISSION_MANAGER_PERMISSION_DENIED}.
* The output result is valid and contains one of {::PERMISSION_MANAGER_PERMISSION_GRANTED,
* ::PERMISSION_MANAGER_PERMISSION_DENIED}.
*/
PERMISSION_MANAGER_STATUS_OK = 0,
/**
Expand Down Expand Up @@ -85,3 +96,5 @@ int32_t APermissionManager_checkPermission(const char* permission,
__END_DECLS

#endif // ANDROID_PERMISSION_MANAGER_H

/** @} */

0 comments on commit e2edd22

Please sign in to comment.