commit | 0784a835e917e1dab7bb963cb9a9b92b506fba94 | [log] [tgz] |
---|---|---|
author | I-Jong Lin <ijonglin@google.com> | Fri Oct 17 14:53:30 2014 -0700 |
committer | I-Jong Lin <ijonglin@google.com> | Mon Oct 20 11:28:57 2014 -0700 |
tree | b368bca21ded1b26e02136f4ee467e63f579debb | |
parent | e664957471663effaa0cf1998b5a1134f5e19aa4 [diff] |
Button fix for torch when no flash available in hw Bug: 17952997 The logic to show and disable the flash button was NOT paired with the torch button and sometimes allowed the enabled torch button to be shown, even the flash button was disabled. A bit confusing, since the torch and flash button look exactly the same. Torch button logic to show/hide and enable/disable now follows the flash logic. Change-Id: Ie14b07815b6d5e1f8d7ce792ef9ee36dfdf8e3ad