mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 23:35:08 +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
|
// Start the thread if not started yet
|
||||||
int started = tryStartThread();
|
return tryStartThread();
|
||||||
if (started != 0) {
|
|
||||||
return started;
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int AsyncFdWatcher::ConfigureTimeout(
|
int AsyncFdWatcher::ConfigureTimeout(
|
||||||
|
|||||||
Reference in New Issue
Block a user