[automerger skipped] Copy Screenshot to fd if and only if user consent approved am: 90f8249030 am: d1a1d6486c -s ours am: c8fbf80edd -s ours am: 5ab1e436a8 -s ours am: 4f228501c9 -s ours am: 214fc3c277 -s ours

am skip reason: Change-Id I0ede8bc8cf5333ea586218a37fd6456f782a50c7 with SHA-1 90f8249030 is in history

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

Change-Id: Ia6a4b9a66873cdba3b87203878fe6980f7767ee7