This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# Dynamic Load UiMode
## Overview
In Box,some app didn't display normal.Because globals UiMode is Configuration.UI_MODE_TYPE_TELEVISION.Some App didn't support Tv Device. Now we provider the means that load UiMode dynamic for each App by White List Config(device/rockchip/common/uimode/package_uimode_config.xml in source, vendor/etc/package_uimode_config.xml in device, Read-write file path /data/system/package_uimode_config.xml). After the device is running, you can dynamically set the UIMode value of the app through TvSettings, which is convenient for debugging. Now this means only support box device.
## Usage
+ Before compiling,you must to amend the config.
+ First, you need to know this app needs what config.Such as Configuration.UI_MODE_TYPE_NORMAL(1), Configuration.UI_MODE_TYPE_TELEVISION(4).
+ Second, you can edit the config in device/rockchip/common/uimode/package_uimode_config.xml.