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

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

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

Always set initiating package as the installer package

See merge request e/os/android_frameworks_base!308
parents 3aa86246 765faf4f
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;
    }

    /**