Merge "Add default display config for television"

This commit is contained in:
Marin Shalamanov
2021-11-24 15:44:58 +00:00
committed by Android (Google) Code Review
5 changed files with 59 additions and 1 deletions

View File

@@ -326,8 +326,12 @@ java_defaults {
"error_prone_android_framework",
],
required: [
// TODO(b/120066492): remove default_television.xml when the build system
// propagates "required" properly.
"default_television.xml",
"framework-platform-compat-config",
// TODO: remove gps_debug and protolog.conf.json when the build system propagates "required" properly.
// TODO(b/120066492): remove gps_debug and protolog.conf.json when the build
// system propagates "required" properly.
"gps_debug.conf",
"icu4j-platform-compat-config",
"protolog.conf.json.gz",

View File

@@ -0,0 +1,28 @@
// Copyright 2021 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License"};
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "frameworks_base_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["frameworks_base_license"],
}
prebuilt_etc {
name: "default_television.xml",
sub_dir: "displayconfig",
src: "default_television.xml",
}

View File

@@ -0,0 +1 @@
include /services/core/java/com/android/server/display/OWNERS

View File

@@ -0,0 +1,24 @@
<displayConfiguration>
<densityMap>
<density>
<height>480</height>
<width>720</width>
<density>120</density>
</density>
<density>
<height>720</height>
<width>1280</width>
<density>213</density>
</density>
<density>
<height>1080</height>
<width>1920</width>
<density>320</density>
</density>
<density>
<height>2160</height>
<width>3840</width>
<density>640</density>
</density>
</densityMap>
</displayConfiguration>

View File

@@ -137,6 +137,7 @@ java_library_static {
],
required: [
"default_television.xml",
"gps_debug.conf",
"protolog.conf.json.gz",
],