commit | ddc11bc03ab48e885f652b89df5f92ff283bcd4a | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Wed Jan 31 16:29:01 2024 +0800 |
committer | Jason Chiu <chiujason@google.com> | Thu Feb 22 03:43:50 2024 +0000 |
tree | 929e0a5b85367a69e364228a5be5cb598919a11d | |
parent | a10cad4433b4bdc7c53d94057c256af32664f730 [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 Change-Id: If97018c2741caef622f0596bbfeaa42ef1788b78 Merged-In: If97018c2741caef622f0596bbfeaa42ef1788b78 (cherry picked from commit 901880a1d2e632179eb4ac708fc4bc18d9d50791)