commit | 9ee0ffed79cf16737bffcd10804f9a60dc3250b4 | [log] [tgz] |
---|---|---|
author | Pinyao Ting <pinyaoting@google.com> | Tue Sep 12 22:37:16 2023 +0000 |
committer | android-t1 <android-t1@t2mobile.com> | Wed Nov 29 10:31:35 2023 +0800 |
tree | 3141fd410e0dd4a977998365a0321f35d7dca941 | |
parent | 3cebf293b167524f30edce081a9d58f97efd58e9 [diff] |
Fix permission bypass in legacy shortcut Intent created for Chooser should not be allowed in legacy shortcuts since it doesn't make sense for user to tap on a shortcut in homescreen to share, the expected share flow started from ShareSheet. Bug: 295334906, 295045199 Test: manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b7b192bd7f24a2aa7d6881ee949657c9760c0305) Merged-In: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa Change-Id: I8d0cbccdc31bd4cb927830e5ecf841147400fdfa