mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Bluetooth: Simplify started check
Test: Bluetooth starts/stops Change-Id: Ib1777ac31d4a13d4221045fa3fa7d817a795f6f9
This commit is contained in:
@@ -41,12 +41,7 @@ int AsyncFdWatcher::WatchFdForNonBlockingReads(
|
||||
}
|
||||
|
||||
// Start the thread if not started yet
|
||||
int started = tryStartThread();
|
||||
if (started != 0) {
|
||||
return started;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return tryStartThread();
|
||||
}
|
||||
|
||||
int AsyncFdWatcher::ConfigureTimeout(
|
||||
|
||||
Reference in New Issue
Block a user