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

Commit 55a3039e authored by dianlujitao's avatar dianlujitao Committed by Bruno Martins
Browse files

Stub TWS related APIs

Change-Id: I653611fd906e7ab6d1fb7a6dbda57bf8e47d6976
parent 45d93e50
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2167,6 +2167,14 @@ public class AdapterService extends Service {
            return true;
        }

        public boolean isTwsPlusDevice(BluetoothDevice device) {
            return false;
        }

        public String getTwsPlusPeerAddress(BluetoothDevice device) {
            return null;
        }

        @Override
        public int getBatteryLevel(BluetoothDevice device, AttributionSource attributionSource) {
            Attributable.setAttributionSource(device, attributionSource);