diff options
| author | TreeHugger Robot <treehugger-gerrit@google.com> | 2017-04-18 21:07:44 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2017-04-18 21:07:48 +0000 |
| commit | 94ac6ae6d9049b3f0646a113013269c4f49f2286 (patch) | |
| tree | 07da4cc1bf744acd4c52430aba5fe7a0eb638c3a /core/java/android | |
| parent | a86e3d70e336dede717f4d06cea35d6b3ebcf4d4 (diff) | |
| parent | 575284756835deb38850d269c18f43fd493c6e23 (diff) | |
Merge "Fixing javadoc errors for pm#canRequestPackageInstalls" into oc-dev
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/pm/PackageManager.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/java/android/content/pm/PackageManager.java b/core/java/android/content/pm/PackageManager.java index 09906be7cd26..666ba600485d 100644 --- a/core/java/android/content/pm/PackageManager.java +++ b/core/java/android/content/pm/PackageManager.java @@ -6256,18 +6256,18 @@ public abstract class PackageManager { /** * Checks whether the calling package is allowed to request package installs through package - * installer. Apps are encouraged to call this api before launching the package installer via + * installer. Apps are encouraged to call this API before launching the package installer via * intent {@link android.content.Intent#ACTION_INSTALL_PACKAGE}. Starting from Android O, the * user can explicitly choose what external sources they trust to install apps on the device. - * If this api returns false, the install request will be blocked by the package installer and + * If this API returns false, the install request will be blocked by the package installer and * a dialog will be shown to the user with an option to launch settings to change their * preference. An application must target Android O or higher and declare permission - * {@link android.Manifest.permission#REQUEST_INSTALL_PACKAGES} in order to use this api. + * {@link android.Manifest.permission#REQUEST_INSTALL_PACKAGES} in order to use this API. * * @return true if the calling package is trusted by the user to request install packages on * the device, false otherwise. - * @see {@link android.content.Intent#ACTION_INSTALL_PACKAGE} - * @see {@link android.provider.Settings#ACTION_MANAGE_UNKNOWN_APP_SOURCES} + * @see android.content.Intent#ACTION_INSTALL_PACKAGE + * @see android.provider.Settings#ACTION_MANAGE_UNKNOWN_APP_SOURCES */ public abstract boolean canRequestPackageInstalls(); |
