Merge "Fix a lambda capture problem in TextDumpsysSection" into rvc-dev am: 35a18b50c5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11756603

Change-Id: I6f0734b5189b4a192e36a32760f5bad43fa409b2