|
|
@ -886,7 +886,7 @@ class Camera1 extends CameraController implements Camera.PreviewCallback, Camera |
|
|
|
void setPlaySounds(boolean playSounds) { |
|
|
|
void setPlaySounds(boolean playSounds) { |
|
|
|
final boolean old = mPlaySounds; |
|
|
|
final boolean old = mPlaySounds; |
|
|
|
mPlaySounds = playSounds; |
|
|
|
mPlaySounds = playSounds; |
|
|
|
schedule(null, true, new Runnable() { |
|
|
|
schedule(mPlaySoundsTask, true, new Runnable() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
|
mergePlaySound(old); |
|
|
|
mergePlaySound(old); |
|
|
|