Raya Mahardika 664f365f24 MiuiCamera: Fix settings crash and HDR capture crash
- In miui and miuix AttributeResolver, ensure resolveColor, resolveDimension,
  and resolveDimensionPixelSize return safe defaults (0) instead of invoking
  Resources.getColor(-1) or Resources.getDimension(-1) when an attribute
  cannot be resolved on non-MIUI themes.
- In VendorTagHelper, force getPreferredAction to 0xbabe (SWALLOW/WARN) to
  prevent unsupported camera HAL vendor tags from throwing unhandled
  VendorTagNotFoundException.
- In HdrEvValue, add defensive bounds checking and try-catch handling to
  gracefully fall back to default EV brackets ([-6, 0, 6]) when parsing
  HAL vendor payload.
- In MiCamera2ShotParallelBurst, guard prepareHdr to initialize default HDR
  exposure compensation frames when EV value parsing is null or empty.
- In AndroidManifest.xml, change CameraPreferenceActivity screenOrientation
  from 'behind' to 'portrait'.

Change-Id: Iee1ee728014f5bcbae99261e08c83a05f416bced
2026-10-04 04:54:44 +00:00
2026-10-01 18:34:20 +00:00
2026-10-01 18:34:20 +00:00
2026-10-01 18:34:20 +00:00
S
Description
No description provided
355 MiB
0 Stars 2 Watchers 0 Forks
Languages
Makefile 61.2%
Python 34.1%
C 4.7%