Merge "Flush BC_FREE_BUFFER and ref ops from non-looper threads." am: 7677da691e am: 4650445097

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/541059

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I43e758af53d73b8cb9e305911337f15225492d62