diff options
| author | Jackal Guo <jackalguo@google.com> | 2020-09-01 01:07:41 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-09-01 01:07:41 +0000 |
| commit | fa817ade0dfa9f117a1a0859276cdab87de819ed (patch) | |
| tree | adda2d8712b34a2aaaf5d72846e498478cdb0a7f /core/java/android | |
| parent | f998fa1bd16351db4a9e51ba34977ac95cfbdf8e (diff) | |
| parent | b47f1dc91ce709a070c26a5379c4a6bd88bc742d (diff) | |
Merge "Update the document"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/pm/PackageInstaller.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/core/java/android/content/pm/PackageInstaller.java b/core/java/android/content/pm/PackageInstaller.java index b7c3289b6e66..e6ea04433114 100644 --- a/core/java/android/content/pm/PackageInstaller.java +++ b/core/java/android/content/pm/PackageInstaller.java @@ -2512,12 +2512,16 @@ public class PackageInstaller { } /** - * If {@link SessionParams#setInstallAsInstantApp(boolean)} was called with {@code true}, - * return true. If it was called with {@code false} or if it was not called return false. + * Get if this session is to be installed as Instant Apps. * - * @hide + * @param isInstantApp an unused parameter and is ignored. + * @return {@code true} if {@link SessionParams#setInstallAsInstantApp(boolean)} was called + * with {@code true}; {@code false} if it was called with {@code false} or if it was not + * called. * * @see #getInstallAsFullApp + * + * @hide */ @SystemApi public boolean getInstallAsInstantApp(boolean isInstantApp) { @@ -2525,12 +2529,16 @@ public class PackageInstaller { } /** - * If {@link SessionParams#setInstallAsInstantApp(boolean)} was called with {@code false}, - * return true. If it was called with {@code true} or if it was not called return false. + * Get if this session is to be installed as full apps. * - * @hide + * @param isInstantApp an unused parameter and is ignored. + * @return {@code true} if {@link SessionParams#setInstallAsInstantApp(boolean)} was called + * with {@code false}; {code false} if it was called with {@code true} or if it was not + * called. * * @see #getInstallAsInstantApp + * + * @hide */ @SystemApi public boolean getInstallAsFullApp(boolean isInstantApp) { |
