commit | 901880a1d2e632179eb4ac708fc4bc18d9d50791 | [log] [tgz] |
---|---|---|
author | Jason Chiu <chiujason@google.com> | Wed Jan 31 16:29:01 2024 +0800 |
committer | Jason Chiu <chiujason@google.com> | Thu Feb 01 14:35:59 2024 +0800 |
tree | d91bdf887519dc1edb34ea1d6613fc81404a9ca4 | |
parent | 5fa73d14ab8160d6aee9913038385bd56bcc9eb8 [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