commit | 40a001d517b3a49f11485621ebae22ea1b1a44a5 | [log] [tgz] |
---|---|---|
author | Nan Wu <wnan@google.com> | Wed Jan 18 16:01:21 2023 +0000 |
committer | Nan Wu <wnan@google.com> | Tue Feb 07 20:33:33 2023 +0000 |
tree | 454839bc851cadaa9c2d17417983ba44199ba9b3 | |
parent | 4d63c1ffd88f8397ffa28dcf27dcc63582ff9709 [diff] |
Log instances where ParcelFileDescriptor.open is called with mode w, but without a or t. Starting in Android Q, the ParcelFileDescriptor#parseMode method no longer implicitly adds the truncate flag to mode "w". This commit adds logging to the central location where the result of parseMode would typically be passed to identify apps potentially affected by this change. Test: manual test. Change-Id: I35e0ceaafff0bef616ce8f998530cc610206e46b