commit | f1a6e0d28abdd0fcf9d35ecf53d7497f573f6113 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Tue Oct 16 10:17:30 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Tue Oct 16 10:23:05 2012 -0700 |
tree | b10d1a8dec8d7ab586390fe5c3c749637c2ce70a | |
parent | 6ebb67493075ecc817207bc0ca0305cde64b5c3b [diff] |
Camera2: When focus is already locked in CAF mode, do not trigger HAL. In HAL2 CAF modes, once focus is locked by an AF trigger, additional triggers will not cause AF notifications, since the state will not change again until a cancelAutofocus call. Since the old API still expects to see a notification, short-circuit this at the service and send an immediate success notification. Bug: 7318298 Change-Id: Ib209a24eaf2a35a247d06aea671efe80a33d751e