Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a7d1e59 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by Android (Google) Code Review
Browse files

Merge "Move broadcast radio 1.2 default implementation back to 1.1."

parents 0f090a49 8c34c817
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -15,8 +15,8 @@
//

cc_binary {
    name: "android.hardware.broadcastradio@1.2-service",
    init_rc: ["android.hardware.broadcastradio@1.2-service.rc"],
    name: "android.hardware.broadcastradio@1.1-service",
    init_rc: ["android.hardware.broadcastradio@1.1-service.rc"],
    vendor: true,
    relative_install_path: "hw",
    cflags: [
@@ -39,7 +39,6 @@ cc_binary {
    shared_libs: [
        "android.hardware.broadcastradio@1.0",
        "android.hardware.broadcastradio@1.1",
        "android.hardware.broadcastradio@1.2",
        "libbase",
        "libhidlbase",
        "libhidltransport",
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
namespace android {
namespace hardware {
namespace broadcastradio {
namespace V1_2 {
namespace V1_1 {
namespace implementation {

using V1_0::Band;
@@ -190,7 +190,7 @@ Return<void> BroadcastRadio::getImage(int32_t id, getImage_cb _hidl_cb) {
}

}  // namespace implementation
}  // namespace V1_2
}  // namespace V1_1
}  // namespace broadcastradio
}  // namespace hardware
}  // namespace android
+8 −8
Original line number Diff line number Diff line
@@ -13,18 +13,18 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIO_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIO_H
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIO_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIO_H

#include "Tuner.h"

#include <android/hardware/broadcastradio/1.1/IBroadcastRadio.h>
#include <android/hardware/broadcastradio/1.2/types.h>
#include <android/hardware/broadcastradio/1.1/types.h>

namespace android {
namespace hardware {
namespace broadcastradio {
namespace V1_2 {
namespace V1_1 {
namespace implementation {

struct AmFmBandConfig {
@@ -73,9 +73,9 @@ struct BroadcastRadio : public V1_1::IBroadcastRadio {
};

}  // namespace implementation
}  // namespace V1_2
}  // namespace V1_1
}  // namespace broadcastradio
}  // namespace hardware
}  // namespace android

#endif  // ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIO_H
#endif  // ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIO_H
+2 −2
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
namespace android {
namespace hardware {
namespace broadcastradio {
namespace V1_2 {
namespace V1_1 {
namespace implementation {

using V1_0::Class;
@@ -57,7 +57,7 @@ Return<void> BroadcastRadioFactory::connectModule(Class classId, connectModule_c
}

}  // namespace implementation
}  // namespace V1_2
}  // namespace V1_1
}  // namespace broadcastradio
}  // namespace hardware
}  // namespace android
+7 −7
Original line number Diff line number Diff line
@@ -13,17 +13,17 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIOFACTORY_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIOFACTORY_H
#ifndef ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIOFACTORY_H
#define ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIOFACTORY_H

#include <android/hardware/broadcastradio/1.1/IBroadcastRadio.h>
#include <android/hardware/broadcastradio/1.2/IBroadcastRadioFactory.h>
#include <android/hardware/broadcastradio/1.2/types.h>
#include <android/hardware/broadcastradio/1.1/IBroadcastRadioFactory.h>
#include <android/hardware/broadcastradio/1.1/types.h>

namespace android {
namespace hardware {
namespace broadcastradio {
namespace V1_2 {
namespace V1_1 {
namespace implementation {

struct BroadcastRadioFactory : public IBroadcastRadioFactory {
@@ -37,9 +37,9 @@ struct BroadcastRadioFactory : public IBroadcastRadioFactory {
};

}  // namespace implementation
}  // namespace V1_2
}  // namespace V1_1
}  // namespace broadcastradio
}  // namespace hardware
}  // namespace android

#endif  // ANDROID_HARDWARE_BROADCASTRADIO_V1_2_BROADCASTRADIOFACTORY_H
#endif  // ANDROID_HARDWARE_BROADCASTRADIO_V1_1_BROADCASTRADIOFACTORY_H
Loading