1. Add new object StorageEntry to encapsulate VolumeInfo and unsupported DiskInfo and missing VolumeRecord. 2. Replaces StorageSummaryDonutPreference with UsageProgressBarPreference. 3. Add storage select spinner. 4. Add a "Free up storage" preference to replace "Manage storage" button. Bug: 174964885 Test: atest com.android.settings.deviceinfo.storage atest com.android.settings.deviceinfo manual Insert an USB drive, select the drive in StorageDashboardFragment and observe UI. Change-Id: I83877f76869414de4fb2788b6b18fe507aa5cfcf Merged-In: I83877f76869414de4fb2788b6b18fe507aa5cfcf
47 lines
1.2 KiB
Plaintext
47 lines
1.2 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"],
|
|
}
|
|
|
|
android_test {
|
|
name: "SettingsUnitTests",
|
|
|
|
certificate: "platform",
|
|
|
|
libs: [
|
|
"android.test.runner",
|
|
"telephony-common",
|
|
"ims-common",
|
|
"android.test.base",
|
|
"android.test.mock",
|
|
],
|
|
|
|
static_libs: [
|
|
"androidx.test.core",
|
|
"androidx.test.rules",
|
|
"androidx.test.espresso.core",
|
|
"androidx.test.espresso.contrib-nodeps",
|
|
"androidx.test.espresso.intents-nodeps",
|
|
"androidx.test.ext.junit",
|
|
"androidx.preference_preference",
|
|
"mockito-target-minus-junit4",
|
|
"platform-test-annotations",
|
|
"truth-prebuilt",
|
|
"ub-uiautomator",
|
|
"SettingsLibSettingsSpinner",
|
|
"SettingsLibUsageProgressBarPreference",
|
|
],
|
|
|
|
// Include all test java files.
|
|
srcs: ["src/**/*.java"],
|
|
|
|
platform_apis: true,
|
|
test_suites: ["device-tests"],
|
|
|
|
instrumentation_for: "Settings",
|
|
}
|