OSDN Git Service

Switch camera sounds to always use the system enforced audio stream.
authorEino-Ville Talvala <etalvala@google.com>
Thu, 5 Jan 2012 23:34:53 +0000 (15:34 -0800)
committerEino-Ville Talvala <etalvala@google.com>
Fri, 6 Jan 2012 18:24:01 +0000 (10:24 -0800)
commit60a78ac9535878984b0777788760b9ee7465c5e6
treeec9e13131339633dcd8a9785bdf0db7588020d95
parent071ccd5a9702500f3f7d62ef881300914926184d
Switch camera sounds to always use the system enforced audio stream.

Instead of picking between the music stream and the enforced audio
stream, change the camera service to always play sounds through
enforced system stream. Also update the currently-hidden CameraSound
API to match.

Bug: 5778365
Change-Id: I3cc64b1d1ff567dbac8020a665d5b19846197ff3
services/camera/libcameraservice/CameraService.cpp
services/camera/libcameraservice/CameraService.h