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

Commit 8bcf3f60 authored by Palash Ahuja's avatar Palash Ahuja
Browse files

[BluetoothMetrics]: Logging RDI for A2DP Metric

Bug: 330953458
Test: m com.android.btservices and Manual test with A2DP and running statsd_testdrive
Flag: EXEMPT, Metrics Logging
Change-Id: Ieefccbf88ab9e3ce641c10e7be222d42f1608ec3
parent 8f76d61d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -283,7 +283,8 @@ final class A2dpStateMachine extends StateMachine {
                        result,
                        mLastConnectionState,
                        BluetoothProfile.STATE_DISCONNECTED,
                        BluetoothProtoEnums.REASON_UNEXPECTED_STATE);
                        BluetoothProtoEnums.REASON_UNEXPECTED_STATE,
                        MetricsLogger.getInstance().getRemoteDeviceInfoProto(mDevice));
            }
        }
    }
@@ -630,7 +631,8 @@ final class A2dpStateMachine extends StateMachine {
                        BluetoothProtoEnums.RESULT_SUCCESS,
                        mLastConnectionState,
                        BluetoothProfile.STATE_CONNECTED,
                        BluetoothProtoEnums.REASON_SUCCESS);
                        BluetoothProtoEnums.REASON_SUCCESS,
                        MetricsLogger.getInstance().getRemoteDeviceInfoProto(mDevice));
            }
        }
    }