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

Commit ea5fbe24 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Merge branch '3730-t-maif-app' into 'v1-t'

Always return initiating package as the installer package

See merge request e/os/android_frameworks_base!309
parents f2925d66 7397537b
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -94,7 +94,12 @@ public final class InstallSourceInfo implements Parcelable {
     */
    @Nullable
    public String getInitiatingPackageName() {
        return mInitiatingPackageName;
        /* Always return initiating package as the installer package.
           Some 3rd party apps are checking which package has initiated the installation
           of the app.
           From now on, we just consider that the initiating package returned
           to the user is always the installer package. */
        return mInstallingPackageName;
    }

    /**