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

Commit aea56a7c authored by Zach Johnson's avatar Zach Johnson
Browse files

Simplify getSocketManager

Bug: 145171640
Test: compile && run
Change-Id: I10651cbda11c7226040a5b4671ddf49860f703b5
parent 42d5b76f
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1812,7 +1812,8 @@ public class AdapterService extends Service {
            if (service == null) {
                return null;
            }
            return service.getSocketManager();

            return IBluetoothSocketManager.Stub.asInterface(service.mBluetoothSocketManagerBinder);
        }

        @Override
@@ -2620,10 +2621,6 @@ public class AdapterService extends Service {
        setDeviceAccessFromPrefs(device, value, SIM_ACCESS_PERMISSION_PREFERENCE_FILE);
    }

    IBluetoothSocketManager getSocketManager() {
        return IBluetoothSocketManager.Stub.asInterface(mBluetoothSocketManagerBinder);
    }

    boolean factoryReset() {
        if (mDatabaseManager != null) {
            mDatabaseManager.factoryReset();