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

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

Merge branch '3730-a14-maif-app' into 'a14'

Always return initiating package as the installer package

See merge request e/os/android_frameworks_base!310
parents 14e78106 5bdafba5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -100,7 +100,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;
    }

    /**