Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [27/118] Intent namespaces

Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [27/118] Intent namespaces
default activity for intents.
However, device implementations MAY provide default activities for specific URI patterns
(e.g. http://play.google.com) when the default activity provides a more specific attribute
for the data URI. For example, an intent filter pattern specifying the data URI
“http://www.android.com” is more specific than the browser's core intent pattern for
“http://”.
Android also includes a mechanism for third-party apps to declare an authoritative default app linking
behavior for certain types of web URI intents. When such authoritative declarations are defined in an
app's intent filter patterns, device implementations:
[C-0-4] MUST attempt to validate any intent filters by performing the validation steps
defined in the Digital Asset Links specification as implemented by the Package Manager
in the upstream Android Open Source Project.
[C-0-5] MUST attempt validation of the intent filters during the installation of the
application and set all successfully validated URI intent filters as default app handlers for
their URIs.
MAY set specific URI intent filters as default app handlers for their URIs, if they are
successfully verified but other candidate URI filters fail verification. If a device
implementation does this, it MUST provide the user appropriate per-URI pattern overrides
in the settings menu.
MUST provide the user with per-app App Links controls in Settings as follows:
[C-0-6] The user MUST be able to override holistically the default app links
behavior for an app to be: always open, always ask, or never open, which must
apply to all candidate URI intent filters equally.
[C-0-7] The user MUST be able to see a list of the candidate URI intent filters.
The device implementation MAY provide the user with the ability to override
specific candidate URI intent filters that were successfully verified, on a per-
intent filter basis.
[C-0-8] The device implementation MUST provide users with the ability to view
and override specific candidate URI intent filters if the device implementation
lets some candidate URI intent filters succeed verification while some others
can fail.
3.2.3.3. Intent Namespaces
[C-0-1] Device implementations MUST NOT include any Android component that honors
any new intent or broadcast intent patterns using an ACTION, CATEGORY, or other key
string in the android. or com.android. namespace.
[C-0-2] Device implementers MUST NOT include any Android components that honor any
new intent or broadcast intent patterns using an ACTION, CATEGORY, or other key string
in a package space belonging to another organization.
[C-0-3] Device implementers MUST NOT alter or extend any of the intent patterns used by
the core apps listed in section 3.2.3.1 .
Device implementations MAY include intent patterns using namespaces clearly and
obviously associated with their own organization. This prohibition is analogous to that
specified for Java language classes in section 3.6 .
3.2.3.4. Broadcast Intents
Third-party applications rely on the platform to broadcast certain intents to notify them of changes in
the hardware or software environment.
Page 27 of 118

Содержание

Похожие устройства

Скачать