Fix non-UI thread ContextUtils.getProcessName() crash pre JB mr2
Before MR2, a ThreadLocal was used to store the currentActivityThread. I don't think there are any existing calls to getProcessName() off of the main thread, so this isn't fixing an existing crash. Change-Id: If4cf17dbfe4f1cead2cc5a4ec043405ec665e922 Reviewed-on: https://chromium-review.googlesource.com/962866 Commit-Queue: agrieve <agrieve@chromium.org> Reviewed-by:Richard Coles <torne@chromium.org> Reviewed-by:
Yaron Friedman <yfriedman@chromium.org> Cr-Commit-Position: refs/heads/master@{#543787}
Showing
Please register or sign in to comment