diff options
| author | 2017-05-03 08:15:15 +0000 | |
|---|---|---|
| committer | 2017-05-03 08:15:15 +0000 | |
| commit | faef1cbd138a20ac595db80324534e84034f2e9b (patch) | |
| tree | 2cd069d82ac1c6dac893bc5dc0d984a913a4ad33 | |
| parent | 839e8535898314f9cbca6f811a98f2d40ac61e2e (diff) | |
Revert "Add more explicit documentation for install reason"
This reverts commit 839e8535898314f9cbca6f811a98f2d40ac61e2e.
We have a better solution in ag/2135964.
Change-Id: Icfed2d883149c9e648b69ae88b64f76daf4030f3
| -rw-r--r-- | core/java/android/content/pm/PackageInstaller.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java index 3d9bcb60d2fc..9e4a86db8684 100644 --- a/core/java/android/content/pm/PackageInstaller.java +++ b/core/java/android/content/pm/PackageInstaller.java @@ -1148,11 +1148,6 @@ public class PackageInstaller { } } - /** - * Set the reason for installing this package. Currently, - * {@code PackageManager#INSTALL_REASON_UNKNOWN} and - * {@code PackageManager#INSTALL_REASON_POLICY} are defined. - */ public void setInstallReason(int installReason) { this.installReason = installReason; } @@ -1331,10 +1326,6 @@ public class PackageInstaller { /** * Return the reason for installing this package. * - * @return The install reason, currently one of - * {@code PackageManager#INSTALL_REASON_UNKNOWN} and - * {@code PackageManager#INSTALL_REASON_POLICY}. - * * @see PackageManager#INSTALL_REASON_UNKNOWN */ public int getInstallReason() { |