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

Commit 940a091c authored by William Escande's avatar William Escande
Browse files

SystemServer: promote failure message as error

Bug: 311772251
Test: m Bluetooth
Flag: Exempt changing some log level
Change-Id: Ifb24ebf8008d239867c7e64953557998cc2a2b39
parent d59e15f0
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2013,7 +2013,7 @@ class BluetoothManagerService {

    private void offToBleOn() {
        if (!mState.oneOf(STATE_OFF)) {
            Log.d(TAG, "offToBleOn: Impossible transition from " + mState);
            Log.e(TAG, "offToBleOn: Impossible transition from " + mState);
            return;
        }
        Log.d(TAG, "offToBleOn: Sending request");
@@ -2026,7 +2026,7 @@ class BluetoothManagerService {

    private void onToBleOn() {
        if (!mState.oneOf(STATE_ON)) {
            Log.d(TAG, "onToBleOn: Impossible transition from " + mState);
            Log.e(TAG, "onToBleOn: Impossible transition from " + mState);
            return;
        }
        Log.d(TAG, "onToBleOn: Sending request");
@@ -2039,7 +2039,7 @@ class BluetoothManagerService {

    private void bleOnToOn() {
        if (!mState.oneOf(STATE_BLE_ON)) {
            Log.d(TAG, "bleOnToOn: Impossible transition from " + mState);
            Log.e(TAG, "bleOnToOn: Impossible transition from " + mState);
            return;
        }
        Log.d(TAG, "bleOnToOn: sending request");
@@ -2052,7 +2052,7 @@ class BluetoothManagerService {

    private void bleOnToOff() {
        if (!mState.oneOf(STATE_BLE_ON)) {
            Log.d(TAG, "bleOnToOff: Impossible transition from " + mState);
            Log.e(TAG, "bleOnToOff: Impossible transition from " + mState);
            return;
        }
        Log.d(TAG, "bleOnToOff: Sending request");