Merge "Change the location of Brandmaster statement file." into mnc-dev
This commit is contained in:
@@ -1105,7 +1105,7 @@
|
|||||||
intern filter data scheme is set to "http" or "https". When set to true, the intent filter
|
intern filter data scheme is set to "http" or "https". When set to true, the intent filter
|
||||||
will need to use its data tag for getting the URIs to verify with.
|
will need to use its data tag for getting the URIs to verify with.
|
||||||
|
|
||||||
For each URI, an HTTPS network request will be done to <code>/.well-known/associations.json</code>
|
For each URI, an HTTPS network request will be done to <code>/.well-known/statements.json</code>
|
||||||
host to verify that the web site is okay with the app intercepting the URI.
|
host to verify that the web site is okay with the app intercepting the URI.
|
||||||
-->
|
-->
|
||||||
<attr name="autoVerify" format="boolean" />
|
<attr name="autoVerify" format="boolean" />
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ public abstract class AbstractStatementRetriever {
|
|||||||
* Creates a new StatementRetriever that directly retrieves statements from the asset.
|
* Creates a new StatementRetriever that directly retrieves statements from the asset.
|
||||||
*
|
*
|
||||||
* <p> For web assets, {@link AbstractStatementRetriever} will try to retrieve the statement
|
* <p> For web assets, {@link AbstractStatementRetriever} will try to retrieve the statement
|
||||||
* file from URL: {@code [webAsset.site]/.well-known/associations.json"} where {@code
|
* file from URL: {@code [webAsset.site]/.well-known/statements.json"} where {@code
|
||||||
* [webAsset.site]} is in the form {@code http{s}://[hostname]:[optional_port]}. The file
|
* [webAsset.site]} is in the form {@code http{s}://[hostname]:[optional_port]}. The file
|
||||||
* should contain one JSON array of statements.
|
* should contain one JSON array of statements.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ import java.util.List;
|
|||||||
private static final int HTTP_CONNECTION_TIMEOUT_MILLIS = 5000;
|
private static final int HTTP_CONNECTION_TIMEOUT_MILLIS = 5000;
|
||||||
private static final long HTTP_CONTENT_SIZE_LIMIT_IN_BYTES = 1024 * 1024;
|
private static final long HTTP_CONTENT_SIZE_LIMIT_IN_BYTES = 1024 * 1024;
|
||||||
private static final int MAX_INCLUDE_LEVEL = 1;
|
private static final int MAX_INCLUDE_LEVEL = 1;
|
||||||
private static final String WELL_KNOWN_STATEMENT_PATH = "/.well-known/associations.json";
|
private static final String WELL_KNOWN_STATEMENT_PATH = "/.well-known/statements.json";
|
||||||
|
|
||||||
private final URLFetcher mUrlFetcher;
|
private final URLFetcher mUrlFetcher;
|
||||||
private final AndroidPackageInfoFetcher mAndroidFetcher;
|
private final AndroidPackageInfoFetcher mAndroidFetcher;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import android.annotation.NonNull;
|
|||||||
/**
|
/**
|
||||||
* An immutable value type representing a statement, consisting of a source, target, and relation.
|
* An immutable value type representing a statement, consisting of a source, target, and relation.
|
||||||
* This reflects an assertion that the relation holds for the source, target pair. For example, if a
|
* This reflects an assertion that the relation holds for the source, target pair. For example, if a
|
||||||
* web site has the following in its associations.json file:
|
* web site has the following in its statements.json file:
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* {
|
* {
|
||||||
|
|||||||
Reference in New Issue
Block a user