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

Commit 1a30f009 authored by David Duarte's avatar David Duarte
Browse files

BluetoothMapService: Move mState initialization to declaration

Bug: 305741984
Test: m Bluetooth
Flag: EXEMPT no-op
Change-Id: I712764834396d1fc7e8edb3c3cf280c9665acf10
parent 037895c2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -141,7 +141,7 @@ public class BluetoothMapService extends ProfileService {
    private ArrayList<BluetoothMapAccountItem> mEnabledAccounts = null;
    private static String sRemoteDeviceName = null;

    private int mState;
    private int mState = BluetoothMap.STATE_DISCONNECTED;
    private BluetoothMapAppObserver mAppObserver = null;
    private AlarmManager mAlarmManager = null;

@@ -169,7 +169,6 @@ public class BluetoothMapService extends ProfileService {
    }

    public BluetoothMapService() {
        mState = BluetoothMap.STATE_DISCONNECTED;
        BluetoothMap.invalidateBluetoothGetConnectionStateCache();
    }