commit | f1d0079c91734168c150f839168544f407b17b06 | [log] [tgz] |
---|---|---|
author | Jason Chiu <[email protected]> | Wed Jan 31 16:29:01 2024 +0800 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Mar 07 01:33:58 2024 +0000 |
tree | 7bbbb6144328059e3a74090b3b48125722119659 | |
parent | e402b8a2a6cfaa132510711fee010209d41ae2cb [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 901880a1d2e632179eb4ac708fc4bc18d9d50791) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ddc11bc03ab48e885f652b89df5f92ff283bcd4a) Merged-In: If97018c2741caef622f0596bbfeaa42ef1788b78 Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78