android: LibraryLoader: remove stale mention of doInBackground()
From a comment remove a confusing mention of an old method doInBackground(), removed since. This reference points at the comment that was introduced at e0825567 (from 2012) and was saying: """ // We're loading the .so in a background thread. Potentially, this // can break native code that relies on static initializers using // thread local storage, as the library would normally load in the // main thread. If do we hit such cases we should remove those static // initializers, as we chrome has banned them. // (Worst case, we can go back to just warming up the file in the system // cache here and do the actual loading in onPostExecute().) """ Since then in many other places we are relying on *not* having static initializers touching TLS. We have very few static initializers in 2020, if any, and guard against adding them. This note is no longer important. Bug: 1154224 Change-Id: I8e9059d73e71b6e5f779037d0d8cfa6f08a745a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574739 Auto-Submit: Egor Pasko <pasko@chromium.org> Reviewed-by:Benoit L <lizeb@chromium.org> Commit-Queue: Egor Pasko <pasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#835320}
Showing
Please register or sign in to comment