Settings page to show rotation, resolution, enable/disable display settings for external and overlay displays. In case persist.demo.userrotation.package_name sysprop is set, then the virtual display with this will also be shown. In case there is only one allowed display available, then this display will be shown right away. When there are more than 1 displays available, then the list of displays will be shown. Change-Id: I186667aaba94ed6befec3a98f4a87f2b2d1f1859 Test: atest ExternalDisplayUpdaterTest Test: atest ExternalDisplayPreferenceFragmentTest Test: atest ResolutionPreferenceFragmentTest Test: atest ConnectedDeviceGroupControllerTest Bug: 340218151 Bug: 294015706 Bug: 253296253 Flag: com.android.settings.flags.rotation_connected_display_setting Flag: com.android.settings.flags.resolution_and_enable_connected_display_setting
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
package {
|
|
default_team: "trendy_team_android_settings_app",
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "packages_apps_Settings_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["packages_apps_Settings_license"],
|
|
}
|
|
|
|
android_test {
|
|
name: "SettingsUnitTests",
|
|
|
|
certificate: "platform",
|
|
|
|
libs: [
|
|
"telephony-common",
|
|
"ims-common",
|
|
],
|
|
|
|
static_libs: [
|
|
"aconfig_settings_flags_lib",
|
|
"androidx.arch.core_core-testing",
|
|
"androidx.lifecycle_lifecycle-runtime-testing",
|
|
"androidx.test.espresso.core",
|
|
"androidx.test.ext.junit",
|
|
"androidx.test.rules",
|
|
"flag-junit",
|
|
"mockito-target-minus-junit4",
|
|
"platform-test-annotations",
|
|
"platform-test-rules",
|
|
"truth",
|
|
"kotlinx_coroutines_test",
|
|
"Settings-testutils2",
|
|
"MediaDrmSettingsFlagsLib",
|
|
"servicestests-utils",
|
|
// Don't add SettingsLib libraries here - you can use them directly as they are in the
|
|
// instrumented Settings app.
|
|
],
|
|
|
|
errorprone: {
|
|
javacflags: ["-Xep:CheckReturnValue:WARN"],
|
|
},
|
|
// Include all test java/kotlin files.
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
use_resource_processor: true,
|
|
platform_apis: true,
|
|
test_suites: ["device-tests"],
|
|
|
|
instrumentation_for: "Settings",
|
|
}
|