mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Migrate broadcast radio default HAL to the new logging API.
Bug: 112540729 Test: flash and boot Change-Id: I18d8b508971cd9a9b7b2c9c221674d862ff351d6
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user