Loading core/java/android/content/IntentFilter.java +3 −3 Original line number Diff line number Diff line Loading @@ -664,7 +664,7 @@ public class IntentFilter implements Parcelable { * has at least one HTTP or HTTPS data URI pattern defined, and optionally * does not define any non-http/https data URI patterns. * * This will check if if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * This will check if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent * data scheme is "http" or "https". * Loading Loading @@ -705,7 +705,7 @@ public class IntentFilter implements Parcelable { } // We get here if: // 1) onlyWebSchemes and no non-web schemes were found, i.e success; or // 1) onlyWebSchemes and no non-web schemes were found, i.e. success; or // 2) !onlyWebSchemes and no http/https schemes were found, i.e. failure. return onlyWebSchemes; } Loading @@ -715,7 +715,7 @@ public class IntentFilter implements Parcelable { * * @return True if the filter needs to be automatically verified. False otherwise. * * This will check if if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * This will check if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent * data scheme is "http" or "https". * Loading Loading
core/java/android/content/IntentFilter.java +3 −3 Original line number Diff line number Diff line Loading @@ -664,7 +664,7 @@ public class IntentFilter implements Parcelable { * has at least one HTTP or HTTPS data URI pattern defined, and optionally * does not define any non-http/https data URI patterns. * * This will check if if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * This will check if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent * data scheme is "http" or "https". * Loading Loading @@ -705,7 +705,7 @@ public class IntentFilter implements Parcelable { } // We get here if: // 1) onlyWebSchemes and no non-web schemes were found, i.e success; or // 1) onlyWebSchemes and no non-web schemes were found, i.e. success; or // 2) !onlyWebSchemes and no http/https schemes were found, i.e. failure. return onlyWebSchemes; } Loading @@ -715,7 +715,7 @@ public class IntentFilter implements Parcelable { * * @return True if the filter needs to be automatically verified. False otherwise. * * This will check if if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * This will check if the Intent action is {@link android.content.Intent#ACTION_VIEW} and * the Intent category is {@link android.content.Intent#CATEGORY_BROWSABLE} and the Intent * data scheme is "http" or "https". * Loading