commit | 2c1b1aa81346c68179a88bad31f23ed976517954 | [log] [tgz] |
---|---|---|
author | Binyi Wu <binyiwu@google.com> | Tue Sep 06 17:58:53 2022 +0800 |
committer | Binyi Wu <binyiwu@google.com> | Wed Sep 14 05:04:35 2022 +0000 |
tree | f834c8657bfed5e69e80fac46ec8a29be71a9ee1 | |
parent | 17122f961797f22384799a7bc7cf4c131c818de6 [diff] |
Prevent intent defined in AccountPreference from leaking access Intent defined in AccountPreferences can grant Settings protected ContentProviders' access to authenticator app. We'll explicitly set an empty ClipData to avoid being used for unexpected access grant. Test: manual, refer to #comment5 in bug for repro steps Bug: 220733496 Change-Id: I85c22c9a7d72b8a55472d366d8adb6a75ac5c8a5