This covers all the known Settings pages using the tabbed view model. https://docs.google.com/document/d/1CdjUjAE84-5ZEPRIfw5KYFjLVHtEZxc_sF0w95su8DA/edit?resourcekey=0-dAACT9HRexY1IyoxMmkVlw#heading=h.58jd58rmznte Screenshots: all apps https://screenshot.googleplex.com/3E5Jm7Pi2JfN64r with work tab: https://screenshot.googleplex.com/8egk4yHK5jSENjR PS Apps Special media management apps https://screenshot.googleplex.com/BHHafqW7bgUwSGg with work tab: https://screenshot.googleplex.com/3cocdhruEmCCh5k PS Location Services tab view https://screenshot.googleplex.com/3DqJcT2BFTEpvYT with work tab: https://screenshot.googleplex.com/6Avpx6hxSrdGJw5 PS on screen keyboard tab view https://screenshot.googleplex.com/4FzVNnBWwbUeJNw with work tab: https://screenshot.googleplex.com/8E8UhpWq8PL5nxU PS password account tab view https://screenshot.googleplex.com/6bDR4AKtth2S3EW with work tab: https://screenshot.googleplex.com/9msXV2TdHdJapch PS storage tab view https://screenshot.googleplex.com/5Nk2FTxwdmpEv3B with work tab: https://screenshot.googleplex.com/79tw2EaWZKfMsnC PS appl_languages_work https://screenshot.googleplex.com/3qrREeg3RQdHhhH Bug: 302278487 Test: manual Change-Id: I8cd39170827fbe251bc4075ef306206020b3a022
100 lines
2.4 KiB
Plaintext
100 lines
2.4 KiB
Plaintext
package {
|
|
// 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"],
|
|
}
|
|
|
|
// Build SettingsRoboTestStub.apk which includes test-only resources.
|
|
android_app {
|
|
name: "SettingsRoboTestStub",
|
|
defaults: [
|
|
"SettingsLibDefaults",
|
|
"SettingsLib-search-defaults",
|
|
],
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
privileged: true,
|
|
use_resource_processor: true,
|
|
resource_dirs: ["res"],
|
|
|
|
static_libs: [
|
|
"Settings-core",
|
|
"androidx.fragment_fragment-testing",
|
|
"frameworks-base-testutils",
|
|
"androidx.fragment_fragment",
|
|
],
|
|
|
|
aaptflags: ["--extra-packages com.android.settings"],
|
|
|
|
libs: [
|
|
"telephony-common",
|
|
"ims-common",
|
|
],
|
|
uses_libs: ["org.apache.http.legacy"],
|
|
optional_uses_libs: [
|
|
"androidx.window.extensions",
|
|
"androidx.window.sidecar",
|
|
],
|
|
}
|
|
|
|
// Settings Robolectric test target.
|
|
android_robolectric_test {
|
|
name: "SettingsRoboTests",
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
|
|
static_libs: [
|
|
"Robolectric_shadows_androidx_fragment_upstream",
|
|
"Settings_robolectric_meta_service_file",
|
|
"SettingsLib-robo-testutils",
|
|
"Settings-robo-testutils",
|
|
"androidx.test.core",
|
|
"androidx.test.espresso.core",
|
|
"androidx.test.ext.junit",
|
|
"androidx.test.rules",
|
|
"androidx.test.runner",
|
|
"flag-junit",
|
|
"flag-junit-base",
|
|
"aconfig_settings_flags_lib",
|
|
"platform-test-annotations",
|
|
"Settings-testutils2",
|
|
],
|
|
|
|
libs: [
|
|
"ims-common",
|
|
],
|
|
|
|
java_resource_dirs: ["config", "resources"],
|
|
|
|
instrumentation_for: "SettingsRoboTestStub",
|
|
|
|
test_options: {
|
|
timeout: 36000,
|
|
shards: 10,
|
|
},
|
|
|
|
coverage_libs: [
|
|
"Settings-core",
|
|
"SettingsLib",
|
|
"SettingsLib-search",
|
|
],
|
|
|
|
upstream: true,
|
|
}
|
|
|
|
java_library {
|
|
name: "Settings-robo-testutils",
|
|
srcs: ["testutils/**/*.java"],
|
|
libs: [
|
|
"Robolectric_all-target_upstream",
|
|
"Settings-core",
|
|
"mockito-robolectric-prebuilt",
|
|
"truth-prebuilt",
|
|
],
|
|
}
|