diff options
author | Gaoxiang Chen <gaochen@codeaurora.org> | 2017-04-12 20:05:24 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-03-10 04:13:59 -0800 |
commit | 4fc0017ce6a69fef93fe36791d8bd480a7b23e67 (patch) | |
tree | 0f9015a8fb39339fd2282162e9d3cd25842c069d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5da216c07a55a618ce71a6ac5923dc509388f3e6 (diff) |
Camera: Ignore torch status update for aux or compsite camera
Issue:
We only expose aux and composite camera ids to whitelist app,
but don't check the whitelist in torch status update.
So for apps not in whitelist like CTS,
they might receive extra unexpected torch status update,
from aux and composite camera, which could cause CTS failure.
Fix:
Also ignore torch status update, if app not in whitelist.
It can fixe CTS issues in FlashlightTest.java.
CRs-Fixed: 2033688
Change-Id: I308bccfc027017b590f9f91089d644f7d8a206ff
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions