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

Commit 0140ce4a authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Move BluetoothInCallService to separate package (2/2)

This class will be extended to support both LE Audio and HFP, so HFP
package is no longer suitable

Test: compilation
Tag: #feature
Bug: 150670922

Change-Id: Ibadc31b0a19e496a6d58dad16c023c0d2fbad150
parent f940c51c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -426,7 +426,7 @@
                 android:resource="@xml/authenticator"/>
        </service>
        <service
            android:name=".hfp.BluetoothInCallService"
            android:name=".telephony.BluetoothInCallService"
            android:permission="android.permission.BIND_INCALL_SERVICE"
            android:process="@string/process"
            android:enabled="@bool/profile_supported_hfp_incallservice"
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import android.os.Message;
import android.util.Log;

import com.android.bluetooth.R;
import com.android.bluetooth.hfp.BluetoothInCallService;
import com.android.bluetooth.telephony.BluetoothInCallService;
import com.android.bluetooth.statemachine.State;
import com.android.bluetooth.statemachine.StateMachine;

+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.annotation.NonNull;
import android.annotation.Nullable;
import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothHeadset;
import com.android.bluetooth.telephony.BluetoothInCallService;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.bluetooth.hfp;
package com.android.bluetooth.telephony;

import android.net.Uri;
import android.os.Bundle;
+3 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.bluetooth.hfp;
package com.android.bluetooth.telephony;

import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothHeadset;
@@ -41,6 +41,8 @@ import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.util.Log;

import com.android.bluetooth.hfp.BluetoothHeadsetProxy;

import androidx.annotation.VisibleForTesting;

import java.util.ArrayList;
Loading