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

Commit dd75d890 authored by Rahul Sabnis's avatar Rahul Sabnis
Browse files

Add IntDef annotations from BluetoothPan.java to PanService.java

Bug: 143244283
Test: Manual
Change-Id: I28d9febb73c2d0f03af090293600be08c8b29831
parent d58fae98
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@ package com.android.bluetooth.pan;

import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothPan;
import android.bluetooth.BluetoothPan.LocalPanRole;
import android.bluetooth.BluetoothPan.RemotePanRole;
import android.bluetooth.BluetoothProfile;
import android.bluetooth.IBluetoothPan;
import android.content.Context;
@@ -485,8 +487,8 @@ public class PanService extends ProfileService {
        }
    }

    void handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int localRole,
            int remoteRole) {
    void handlePanDeviceStateChange(BluetoothDevice device, String iface, int state,
            @LocalPanRole int localRole, @RemotePanRole int remoteRole) {
        if (DBG) {
            Log.d(TAG, "handlePanDeviceStateChange: device: " + device + ", iface: " + iface
                    + ", state: " + state + ", localRole:" + localRole + ", remoteRole:"