Use helper function of registerReceiver() that doesn't export receiver

This commit is contained in:
Torsten Grote
2024-10-31 16:54:13 -03:00
parent 6e4052fa87
commit 4f8ac5f734
13 changed files with 48 additions and 16 deletions

View File

@@ -388,7 +388,6 @@ abstract class AbstractBluetoothPlugin<S, SS> implements BluetoothPlugin,
}
// Validate the UUID
try {
//noinspection ResultOfMethodCallIgnored
UUID.fromString(uuid);
} catch (IllegalArgumentException e) {
if (LOG.isLoggable(WARNING)) LOG.warning("Invalid UUID " + uuid);