[bluetooth] Boost priority while probing bthprops.cpl
The HasBluetoothStack() method checks if bthprops.cpl can be loaded. This can take the dynamic library loader lock while on a background thread and so an annotation is needed to temporarily boost thread priority to avoid janking the main thread. Noticed in crash/e8feafd49cc404d4. Bug: 973868 Change-Id: I036ffacd5f22afa9a5493d746b2b1ada600ecfc6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2209133 Auto-Submit: Reilly Grant <reillyg@chromium.org> Commit-Queue: Vincent Scheib <scheib@chromium.org> Reviewed-by:Vincent Scheib <scheib@chromium.org> Cr-Commit-Position: refs/heads/master@{#770323}
Showing
Please register or sign in to comment