commit | 8575592802b9527fe0f7cf19e9cb7159c9aa5121 | [log] [tgz] |
---|---|---|
author | Sumedh Sen <sumedhsen@google.com> | Thu Jan 16 11:38:56 2025 -0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 05 21:20:04 2025 -0800 |
tree | e74d72e05f77bbdfee73c3f2a5b41040bf093b9a | |
parent | 6894ba3da6da99eb0ef63d95bf1b19080d302eda [diff] |
Get calling package name using a reliable API getCallingPackage() is unreliable due to reasons listed here: go/getcallingpackage-misuse. Replace it with getLaunchedFromPackage Test: Manual. Install an APK and ensure app is installed Bug: 364604008 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1ab193cb57c22605e6cffb52ba1b222d8a2637c5) Merged-In: If94ea6566fa3f3b461efaeffff7b074693003c9a Change-Id: If94ea6566fa3f3b461efaeffff7b074693003c9a