You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
179 lines
8.2 KiB
179 lines
8.2 KiB
7 months ago
|
<configuration>
|
||
|
|
||
|
<!-- Home Screen search icon -->
|
||
|
<!-- When shipping devices in markets where the default Google Search
|
||
|
engine is not available, device manufacturers can replace the Google
|
||
|
Search application with another search application. If they replace
|
||
|
Google Search, they MUST provide a custom icon for the application
|
||
|
to display on the Home Screen in place of the Google Search logo.
|
||
|
The dimensions for the custom icon can be found on the Android TV UX
|
||
|
design guidelines documentation.
|
||
|
To replace the default search icon, provide a URI to the bitmap of
|
||
|
the icon, this can be a URI to an external server or to a local file
|
||
|
content Provider.z
|
||
|
This configuration should NOT be used in countries where Google
|
||
|
search is mandatory.
|
||
|
-->
|
||
|
<partner-search-icon icon_uri="android.resource://com.android.tv.settings/raw/icon" />
|
||
|
|
||
|
<!-- Inputs -->
|
||
|
<!-- OEMs can customize the behavior of the input panel using the following
|
||
|
attributes:
|
||
|
disable_disconnected_inputs (boolean) - OEMs can choose if Input entries
|
||
|
that are indicated as disconnected (via TIF) should be represented as
|
||
|
disabled in the Home Screen or not.
|
||
|
Disabled inputs are grayed out on the UI and moved to the end of the
|
||
|
inputs list (after all enabled inputs), and are not actionable (clicking
|
||
|
on them has no effect).
|
||
|
|
||
|
disconnected_input_text (string) - OEMs can choose to show a toast when
|
||
|
the user selects a disconnected input.
|
||
|
|
||
|
show_inputs (boolean) - OEMs can choose to show or hide the inputs icon
|
||
|
at the top row of the Home Screen by setting this flag to true or false.
|
||
|
|
||
|
enable_input_state_icon (boolean) - OEMs can supply their own icons for
|
||
|
each state of each input.
|
||
|
This feature can be enabled by setting this boolean flag to true.
|
||
|
To supply the icons, OEMs must use the setIcon(Icon icon, int state)
|
||
|
method in TvInputInfo.Builder to set the icon for each of these states:
|
||
|
|
||
|
TvInputManager.INPUT_STATE_CONNECTED
|
||
|
TvInputManager.INPUT_STATE_CONNECTED_STANDBY
|
||
|
TvInputManager.INPUT_STATE_DISCONNECTED
|
||
|
-->
|
||
|
|
||
|
|
||
|
<!-- Apps View order -->
|
||
|
<!-- OEMS can customize the Home Screen Apps view by reordering the Apps,
|
||
|
Games, and OEM rows.
|
||
|
-->
|
||
|
<apps-view-layout rows_order="games_apps_oem" />
|
||
|
|
||
|
<!-- Out-of-box order -->
|
||
|
<!-- Favorites - OEMs can define which apps will show up in the favorite apps
|
||
|
row out of box in the Home Screen by providing a list of apps (name and
|
||
|
package name). This list should be up to 8 apps and the system will use
|
||
|
the first 8 apps on this list of more than 8 are provided.
|
||
|
The list should comply with the GTVS app placement requirements
|
||
|
(see: requirements page)
|
||
|
-->
|
||
|
<partner-favorite-apps-out-of-box-order>
|
||
|
<app
|
||
|
name="app name 1"
|
||
|
package_name="com.netflix.ninja" />
|
||
|
<app
|
||
|
name="app name 2"
|
||
|
package_name="tbn_mobile.android" />
|
||
|
<app
|
||
|
name="app name 3"
|
||
|
package_name="com.viki.android" />
|
||
|
<app
|
||
|
name="app name 4"
|
||
|
package_name="com.haystack.android" />
|
||
|
<app
|
||
|
name="app name 5"
|
||
|
package_name="com.google.android.youtube.tv" />
|
||
|
<app
|
||
|
name="app name 6"
|
||
|
package_name="com.google.android.videos" />
|
||
|
</partner-favorite-apps-out-of-box-order>
|
||
|
|
||
|
<!-- Apps - OEMs can customize the initial order of apps in the apps row of
|
||
|
the Apps View by providing a list of up to 20 apps (name and package
|
||
|
name). All other games will be sorted alphabetically.
|
||
|
The list should comply with the GTVS app placement requirements
|
||
|
(see: requirements page)
|
||
|
-->
|
||
|
<partner-all-apps-out-of-box-order>
|
||
|
<app
|
||
|
name="app name 1"
|
||
|
package_name="com.netflix.ninja" />
|
||
|
<app
|
||
|
name="app name 2"
|
||
|
package_name="com.google.android.play.games" />
|
||
|
<app
|
||
|
name="app name 3"
|
||
|
package_name="com.google.android.youtube.tv" />
|
||
|
<app
|
||
|
name="app name 4"
|
||
|
package_name="com.google.android.videos" />
|
||
|
<app
|
||
|
name="app name 5"
|
||
|
package_name="com.google.android.music" />
|
||
|
<app
|
||
|
name="app name 6"
|
||
|
package_name="com.android.vending" />
|
||
|
</partner-all-apps-out-of-box-order>
|
||
|
|
||
|
<!-- Games - OEMs can customize the initial order of apps in the games row
|
||
|
of the Apps View by providing a list of up to 10 apps (name and package
|
||
|
name). All other games will be sorted alphabetically.
|
||
|
-->
|
||
|
|
||
|
|
||
|
<!-- Channels - By default channels are added to the UI in the order that they
|
||
|
are added by apps. A channel will be added to the bottom of the list of
|
||
|
channel when it is added by an app. OEMs can customize the initial order by
|
||
|
providing a list of package names. When one of the packages in the list
|
||
|
inserts a channel the system will insert it in the position indicated in
|
||
|
list. If while the channels are being inserted, the user changed to order
|
||
|
of the channels manually, the system will make the best effort to respect
|
||
|
the initial order while still preserving the user's channels order setup.
|
||
|
The initial order is limited to one channel per app, duplicates will be
|
||
|
ignored.
|
||
|
The list should comply with the GTVS app placement requirements
|
||
|
(see: requirements page)
|
||
|
-->
|
||
|
<!--<partner-channels-out-of-box-order>
|
||
|
<package-name system_channel_key="Featured">com.google.android.videos</package-name>
|
||
|
<package-name system_channel_key="Top Selling Movies">com.google.android.videos</package-name>
|
||
|
<package-name system_channel_key="Tob Selling TV Shows">com.google.android.videos</package-name>
|
||
|
</partner-channels-out-of-box-order>-->
|
||
|
<partner-channels-out-of-box-order>
|
||
|
<package-name>com.netflix.ninja</package-name>
|
||
|
<package-name>com.viki.android</package-name>
|
||
|
<package-name>com.haystack.android</package-name>
|
||
|
<package-name>com.google.android.youtube.tv</package-name>
|
||
|
<package-name>com.google.android.videos</package-name>
|
||
|
<package-name>com.google.android.music</package-name>
|
||
|
</partner-channels-out-of-box-order>
|
||
|
<!-- Android TV supports a limited set of system notifications. The system
|
||
|
filters all notifications and shows notifications only from a limited list
|
||
|
of whitelisted packages. The list is controlled by the system and already
|
||
|
includes Google's packages. OEMs can whitelist more packages by adding
|
||
|
them to the notification whitelist.
|
||
|
This list should only be used to whitelist system apps that want to show
|
||
|
important notifications that the user must handle (examples are: no
|
||
|
network, low battery on the remote, low storage etc…). It should NOT be
|
||
|
used by apps to promote content or features.
|
||
|
-->
|
||
|
<partner-package-notification-whitelist>
|
||
|
<package-name>com.google.android.youtube.tv</package-name>
|
||
|
<package-name>com.google.android.videos</package-name>
|
||
|
</partner-package-notification-whitelist>
|
||
|
|
||
|
<!-- By default, each app gets to show one channel in the UI without user's
|
||
|
approval. OEMs can change the number of channels allowed without user's
|
||
|
approval by providing a list of apps and and the number of pre-approved
|
||
|
channels (quota) for each app.
|
||
|
-->
|
||
|
<partner-app-channel-quota>
|
||
|
<app
|
||
|
package_name="com.google.android.youtube.tv"
|
||
|
quota="2" />
|
||
|
<app
|
||
|
package_name="com.google.android.videos"
|
||
|
quota="4" />
|
||
|
</partner-app-channel-quota>
|
||
|
|
||
|
<!-- Configure channels app order in the Channels configuration tray -->
|
||
|
<configure-channels-app-order>
|
||
|
<package-name>com.netflix.ninja</package-name>
|
||
|
<package-name>com.google.android.music</package-name>
|
||
|
<package-name>com.google.android.youtube.tv</package-name>
|
||
|
<package-name>com.google.android.videos</package-name>
|
||
|
</configure-channels-app-order>
|
||
|
|
||
|
</configuration>
|