Merge "CachedAppOptimizer: fix fd leak." into sc-dev am: 7b68417fe8

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7517de69aafe111fa552fc635f39acf088257e17