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

Commit b5d73ee5 authored by Les Lee's avatar Les Lee
Browse files

wifi: rename mode 'ON' to 'VOICE'.

To improve clarity and accommodate future functionalities,
we should rename the existing 'ON' mode to 'VOICE'.
This change establishes 'VOICE' as the fundamental mode for VOIP operations.
Additionally, it paves the way for adding future modes, such as 'VOICE_VIDEO',
as the system evolves.

Bug: 295885471
Test: TH

Change-Id: Ie3b54f02cf3c73b5a9c2a805ec36703dfd541666
parent eaace5d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1924,7 +1924,7 @@ ndk::ScopedAStatus WifiChip::setVoipModeInternal(const WifiChip::VoipMode in_mod
    wifi_voip_mode mode;
    switch (in_mode) {
        case WifiChip::VoipMode::VOICE:
            mode = wifi_voip_mode::WIFI_VOIP_MODE_ON;
            mode = wifi_voip_mode::WIFI_VOIP_MODE_VOICE;
            break;
        case WifiChip::VoipMode::OFF:
            mode = wifi_voip_mode::WIFI_VOIP_MODE_OFF;