Skip to content

Commit b7f73bb

Browse files
committed
Update javadocs for PermissionManager.addListener
1 parent db3cd31 commit b7f73bb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

base/src/main/java/com/smartdevicelink/managers/permission/BasePermissionManager.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,8 @@ private void notifyListener(@NonNull PermissionFilter filter){
392392
}
393393

394394
/**
395-
* Add a listener to be called when there is permissions change
395+
* Add a listener to be called when there is permissions change.
396+
* When the listener is added it will be called immediately with the current permission values if the values comply with with the passed groupType
396397
* @param permissionElements list of PermissionElement that represents the RPC names and their parameters
397398
* @param groupType PermissionGroupType int value represents whether we need the listener to be called when there is any permissions change or only when all permission become allowed
398399
* @param listener OnPermissionChangeListener interface

0 commit comments

Comments
 (0)