commit | 29d320b4b5f0206ed2e3ae2bd005567c9c11a386 | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Wed Jan 31 16:29:01 2024 +0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Mar 13 18:39:29 2024 +0000 |
tree | cb3e4b7951c742c76413e12c2a066b544e91054d | |
parent | 617b35d63ea9ebec377247c9abf2763ede1486d5 [diff] |
Replace getCallingActivity() with getLaunchedFromPackage() getLaunchedFromPackage() reports who launched this Activity or built PendingIntent used to launch it, whereas getCallingActivity() reports who will get result of Activity. Bug: 316891059 Test: robotest, manual (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:901880a1d2e632179eb4ac708fc4bc18d9d50791) Merged-In: If97018c2741caef622f0596bbfeaa42ef1788b78 Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78