From ae7aa13a7a424cf753e76bae8a4e43e5839aa990 Mon Sep 17 00:00:00 2001 From: sundarajan srinivasan Date: Wed, 27 Jan 2016 14:48:47 -0800 Subject: bootanimation: Move the bootanimation playaudio code Move the bootanimation playaudio code, so that the audio plays after the boot animation, because the audio manager is not ready and races with the boot animation, if they the audio and boot animation play together and makes the boot animation stutter. SAMOSA-10 Change-Id: I56ab19ec06a4af2de84916cdc330e646dd5a8695 (cherry picked from commit 9ccd025499bb36c27d1a9b0c5d20d1cc86beb167) --- cmds/bootanimation/BootAnimation.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'cmds') diff --git a/cmds/bootanimation/BootAnimation.cpp b/cmds/bootanimation/BootAnimation.cpp index b153454..b83c7ab 100644 --- a/cmds/bootanimation/BootAnimation.cpp +++ b/cmds/bootanimation/BootAnimation.cpp @@ -736,10 +736,6 @@ bool BootAnimation::movie() pthread_mutex_init(&mp_lock, NULL); pthread_cond_init(&mp_cond, NULL); - property_get("persist.sys.silent", value, "null"); - if (strncmp(value, "1", 1) != 0) { - playBackgroundMusic(); - } for (size_t i=0 ; i