app/src/main/java/com/sap/cloud/mobile/fiori/demo/attachments/AttachmentFormCellActivity.java
@Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        AttachmentFormCell.onRequestPermissionsResult(requestCode, permissions, grantResults, getBaseContext());
    }
/**
     * Callback for the result from requesting permissions. This method
     * is invoked for every call on {@link #requestPermissions(String[], int)}.
     * <p>
     * <strong>Note:</strong> It is possible that the permissions request interaction
     * with the user is interrupted. In this case you will receive empty permissions
     * and results arrays which should be treated as a cancellation.
     * </p>
     *
     * @param requestCode  The request code passed in {@link #requestPermissions(String[], int)}.
     * @param permissions  The requested permissions. Never null.
     * @param grantResults The grant results for the corresponding permissions
     *                     which is either {@link PackageManager#PERMISSION_GRANTED}
     *                     or {@link PackageManager#PERMISSION_DENIED}. Never null.
     * @see #requestPermissions(String[], int)
     */
Callback for the result from requesting permissions. This method
is invoked for every call on  #requestPermissions(String[], int).

Note: It is possible that the permissions request interaction
with the user is interrupted. In this case you will receive empty permissions
and results arrays which should be treated as a cancellation.

@param requestCode  The request code passed in  #requestPermissions(String[], int).
@param permissions  The requested permissions. Never null.
@param grantResults The grant results for the corresponding permissions
which is either  PackageManager#PERMISSION_GRANTED
or  PackageManager#PERMISSION_DENIED. Never null.
Callback for the result from requesting permissions . This method is invoked for every call on #requestPermissions ( String [] int ) . Note : It is possible that the permissions request interaction with the user is interrupted . In this case you will receive empty permissions and results arrays which should be treated as a cancellation . @param requestCode The request code passed in #requestPermissions ( String [] int ) . @param permissions The requested permissions . Never null . @param grantResults The grant results for the corresponding permissions which is either PackageManager#PERMISSION_GRANTED or PackageManager#PERMISSION_DENIED . Never null .
@Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        AttachmentFormCell.onRequestPermissionsResult(requestCode, permissions, grantResults, getBaseContext());
    }
@ Override public void onRequestPermissionsResult ( int requestCode , @ NonNull String [ ] permissions , @ NonNull int [ ] grantResults ) { super . onRequestPermissionsResult ( requestCode , permissions , grantResults ) ; AttachmentFormCell . onRequestPermissionsResult ( requestCode , permissions , grantResults , getBaseContext ( ) ) ; }
Callback for the result from requesting permissions.
Callback for the result from requesting permissions .