| 372 | } |
| 373 | |
| 374 | void KeyDetector::fireCallbacks() { |
| 375 | if (mFireKeyEnd) { |
| 376 | if (onKeyEnd) onKeyEnd(); |
| 377 | mFireKeyEnd = false; |
| 378 | } |
| 379 | if (mFireKeyChange) { |
| 380 | if (onKeyChange) onKeyChange(mCurrentKey); |
| 381 | mFireKeyChange = false; |
| 382 | } |
| 383 | if (mFireKey) { |
| 384 | if (onKey) onKey(mCurrentKey); |
| 385 | mFireKey = false; |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | } // namespace detector |
| 390 | } // namespace audio |
no outgoing calls
no test coverage detected