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

Commit 8defec44 authored by Felka Chang's avatar Felka Chang
Browse files

Update INSTALL_FAILED_REPLACE_COULDNT_DELETE's comment

To make the comment of INSTALL_FAILED_REPLACE_COULDNT_DELETE easy to
be understood by the developers.

INSTALL_FAILED_REPLACE_COULDNT_DELETE is used to express the situation
that the new package replace the system package neither with
DELETE_SYSTEM_APP flag nor delete application for users.

Fixes: 149890172
Test: m docs
Change-Id: I57fe81845c81376cfa61224dd37579ade2223fa1
parent 9fa9c1f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1164,7 +1164,8 @@ public abstract class PackageManager {

    /**
     * Installation return code: this is passed in the {@link PackageInstaller#EXTRA_LEGACY_STATUS}
     * if the new package uses a shared library that is not available.
     * when the package being replaced is a system app and the caller didn't provide the
     * {@link #DELETE_SYSTEM_APP} flag.
     *
     * @hide
     */