Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 85755928 authored by Sumedh Sen's avatar Sumedh Sen Committed by Android Build Coastguard Worker
Browse files

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
parent 6894ba3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment