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

Commit bf752074 authored by William Escande's avatar William Escande
Browse files

Replace ellipsys by ascii char

Some environment doesn't display properly this char
See aosp/3123333

Bug: 311772251
Test: m Bluetooth
Flag: Exempt logging typo
Change-Id: Ie21ef5350428f08a097d0ad13e31b49c54f03a02
parent 25d1aae2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ object BlockingBluetoothAdapter {
                if (adapter.isBleScanAlwaysAvailable()) {
                    break
                }
                Log.d(TAG, "Ble scan not yet available Sleeping 20 ms $i/5")
                Log.d(TAG, "Ble scan not yet available... Sleeping 20 ms $i/5")
                Thread.sleep(20)
            }
            if (!adapter.isBleScanAlwaysAvailable()) {
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ class LogTest {

    @Test
    fun log_errorThrowable() {
        Log.e(TAG, "Logging error ", RuntimeException("With a Throwable"))
        Log.e(TAG, "Logging error... ", RuntimeException("With a Throwable"))
    }

    @Test
+2 −2
Original line number Diff line number Diff line
@@ -501,14 +501,14 @@ class BluetoothManagerService {
                    if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action)) {
                        String newName = intent.getStringExtra(BluetoothAdapter.EXTRA_LOCAL_NAME);
                        if (newName != null) {
                            Log.d(TAG, "Bluetooth Adapter name changed to " + newName);
                            Log.d(TAG, "Local name changed to: " + newName);
                            storeNameAndAddress(newName, null);
                        }
                    } else if (BluetoothAdapter.ACTION_BLUETOOTH_ADDRESS_CHANGED.equals(action)) {
                        String newAddress =
                                intent.getStringExtra(BluetoothAdapter.EXTRA_BLUETOOTH_ADDRESS);
                        if (newAddress != null) {
                            Log.d(TAG, "Local address changed to " + logAddress(newAddress));
                            Log.d(TAG, "Local address changed to: " + logAddress(newAddress));
                            storeNameAndAddress(null, newAddress);
                        } else {
                            Log.e(TAG, "No Bluetooth Adapter address parameter found");