diff options
| author | 2023-05-12 17:40:12 -0700 | |
|---|---|---|
| committer | 2023-05-12 17:40:12 -0700 | |
| commit | 20a131fe3be17aad65e00d39446fcd7b6723f1ba (patch) | |
| tree | 169a8aba031440dabfd7a36427a50f04d0ff71fc /libs/androidfw/ApkParsing.cpp | |
| parent | ecbd3d61dd136c1d4f53509e476c98b800752a7d (diff) | |
Camera: Improve error handling of device state listeners
Do not register characteristic fold state listeners in
case the DeviceStateManager fails to register the main
device state callback. This is possible in case we are
running in instant mode and can impact the correctness of
the characteristics override logic.
Bug: 281930689
Test:
atest --instant
cts/tests/camera/src/android/hardware/camera2/cts/ExtendedCameraCharacteristicsTest.java#testLegacyCameraDeviceParity
atest
cts/tests/camera/src/android/hardware/camera2/cts/ExtendedCameraCharacteristicsTest.java#testLegacyCameraDeviceParity
Change-Id: I53908508c5dd7375663cf37fc18522b1cea12e5e
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions