commit | 7c9a51580aaa78775069af7615392a93c4405921 | [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 Jul 10 22:17:48 2024 +0000 |
tree | 438db324528c15dc3c92db45ee5fef4affd45e50 | |
parent | 787f1f5c2e133dc6a64d91015802ce0d6b4e7ca2 [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 commit ddc11bc03ab48e885f652b89df5f92ff283bcd4a) (cherry picked from commit 8bdbb580da847d82f16fb57883a01a5e65ffa696) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c7a8127d3bb6010617e507c03f7207dd50082953) Merged-In: If97018c2741caef622f0596bbfeaa42ef1788b78 Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78