qservice: Fixes for IQHDMIClient
- Fix compilation issue to make IQHDMIClient accessible from SDM
- Change the log level from ERROR to WARNING if the IQHDMIClient
is not present. This is not a fatal state and can be treated as
a warning.
CRs-Fixed: 814136
Change-Id: Ia37cad912ff77c505b81c705f80c5f7daf75f9d7
diff --git a/libqservice/QService.h b/libqservice/QService.h
index 719c9b7..bd130fa 100644
--- a/libqservice/QService.h
+++ b/libqservice/QService.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2013, 2016, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -50,8 +50,8 @@
virtual android::status_t dispatch(uint32_t command,
const android::Parcel* data,
android::Parcel* reply);
- void onHdmiHotplug(int connected);
- void onCECMessageReceived(char *msg, ssize_t len);
+ virtual void onHdmiHotplug(int connected);
+ virtual void onCECMessageReceived(char *msg, ssize_t len);
static void init();
private:
QService();