Skip to content

Commit

Permalink
AndroidX 1.6.0-rc01
Browse files Browse the repository at this point in the history
Update javadoc for intent and link utils.
  • Loading branch information
pranavpandey committed Jun 16, 2021
1 parent a6fac4a commit 411fd44
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ buildscript {
'minSdk' : 14,
'targetSdk' : 30,
'buildTools': '30.0.3',
'androidx' : '1.6.0-beta02'
'androidx' : '1.6.0-rc01'
]

repositories {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public static int addImmutableFlag(int flags) {

/**
* View any Intent in the available app or browser.
* <p>Use {@code queries} tag for {@link Intent#ACTION_VIEW} with appropriate
* {@code scheme(s)} in {@code AndroidManifest} to support API 30.
*
* @param context The context to retrieve the resources.
* @param intent The intent to view.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ public static boolean shareApp(@NonNull Context context) {
* View any URL in the available app or browser. Some URLs will automatically open in their
* respective apps if installed on the device. Special treatment is applied for the
* Facebook URLs to open them directly in the app.
* <p>Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme
* {@code https or http} in {@code AndroidManifest} to support API 30.
*
* @param context The context to retrieve the resources.
* @param url The web or app link to open.
Expand All @@ -207,6 +209,8 @@ public static boolean viewUrl(@NonNull Context context, @NonNull String url) {

/**
* View app on Google Play or Android Market.
* <p>Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme
* {@code https or http} in {@code AndroidManifest} to support API 30.
*
* @param context The context to retrieve the resources.
* @param packageName Application package name to build the search query.
Expand All @@ -227,6 +231,8 @@ public static boolean viewInGooglePlay(@NonNull Context context,
/**
* View app on Google Play or Android Market.
* <p>Can be used for the quick feedback or rating from the user.
* <p>Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme
* {@code https or http} in {@code AndroidManifest} to support API 30.
*
* @param context The context to retrieve the resources.
*
Expand All @@ -240,6 +246,8 @@ public static boolean rateApp(@NonNull Context context) {

/**
* View other apps of a Publisher on Google Play or Android Market.
* <p>Use {@code queries} tag for {@link Intent#ACTION_VIEW} with scheme
* {@code https or http} in {@code AndroidManifest} to support API 30.
*
* @param context The context to retrieve the resources.
* @param publisher The publisher name to build the search query.
Expand Down

0 comments on commit 411fd44

Please sign in to comment.