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

Commit 4e041501 authored by Jan Kowal's avatar Jan Kowal
Browse files

broadcastradio@2.0 VTS uses FM frequency invalid in some regions

In Japan FM frequency range is 76-95MHz thus FmTune test using
hardcoded 101.1MHz fails on devices preconfigured for this
region when TunerSession::tune returns INVALID_PARAMETER.
Proposed new frequency is valid in all regions.

Test: run VtsHalBroadcastradioV2_0TargetTest on hardware units
configured for Europe, US, Japan (and preferably other) analog
tuner regions

Bug: b/177916339

Change-Id: I86081fc3e1c0e0959039d5a00d96873fca454da6
parent 4cd0571b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ TEST_P(BroadcastRadioHalTest, GetDabRegionConfig) {
TEST_P(BroadcastRadioHalTest, FmTune) {
    ASSERT_TRUE(openSession());

    uint64_t freq = 100100;  // 100.1 FM
    uint64_t freq = 90900;  // 90.9 FM
    auto sel = make_selector_amfm(freq);

    /* TODO(b/69958777): there is a race condition between tune() and onCurrentProgramInfoChanged