Migrate broadcast radio default HAL to the new logging API.

Bug: 112540729
Test: flash and boot
Change-Id: I18d8b508971cd9a9b7b2c9c221674d862ff351d6
This commit is contained in:
Tomasz Wasilczyk
2018-11-13 11:26:23 -08:00
parent 3fdc002bd2
commit 84ec4e14f6
11 changed files with 42 additions and 80 deletions

View File

@@ -13,15 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "BcRadioDef.VirtualProgram"
#include "VirtualProgram.h"
#include "resources.h"
#include <android-base/logging.h>
#include <broadcastradio-utils-2x/Utils.h>
#include <log/log.h>
namespace android {
namespace hardware {
@@ -72,7 +69,7 @@ VirtualProgram::operator ProgramInfo() const {
info.physicallyTunedTo = selectId(IdentifierType::SXM_CHANNEL);
break;
default:
LOG(FATAL) << "Unsupported program type: " << toString(pType);
LOG(FATAL) << "unsupported program type: " << toString(pType);
}
info.infoFlags |= ProgramInfoFlags::TUNED;