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

Commit 78b26bd6 authored by Zach Johnson's avatar Zach Johnson
Browse files

Simplify isActivityAndEnergyReportingSupported

Bug: 145171640
Test: compile & run
Change-Id: I5b8900df3410378e7443d487d70f9102a82f6fa5
parent 57c543a0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -2018,7 +2018,7 @@ public class AdapterService extends Service {

            enforceBluetoothPrivilegedPermission(service);

            return service.isActivityAndEnergyReportingSupported();
            return service.mAdapterProperties.isActivityAndEnergyReportingSupported();
        }

        @Override
@@ -2635,10 +2635,6 @@ public class AdapterService extends Service {
        return mAdapterProperties.getOffloadedScanResultStorage();
    }

    private boolean isActivityAndEnergyReportingSupported() {
        return mAdapterProperties.isActivityAndEnergyReportingSupported();
    }

    public boolean isLe2MPhySupported() {
        return mAdapterProperties.isLe2MPhySupported();
    }