-<%!
- ##
- ## Generate extra text blocks for the details field
- def generate_extra_detail(entry):
- def inner(text):
- if entry.optional:
- text += '\n\n<b>Optional</b> - This value may be {@code null} on some devices.\n'
- if any(tag.name == 'FULL' for tag in entry.tags):
- text += \
- '\n<b>Full capability</b> - \n' + \
- 'Present on all camera devices that report being {@link CameraCharacteristics#INFO_SUPPORTED_HARDWARE_LEVEL_FULL HARDWARE_LEVEL_FULL} devices in the\n' + \
- 'android.info.supportedHardwareLevel key\n'
- return text
- return inner
-%>