We're currently importing the whole of SettingsLib into the Settings Backup Agent just to access a single static method. This seems to have contributed to a the regression which relates to b/139373401. This CL separates the 3 related methods out into their own build target so the amount of code included in SettingsBackupAgent is much smaller. A later CL will remove the original location after all usages have been redirected to this new location Bug: 139373401 Test: atest SettingsProviderTest SettingsLibRoboTests Change-Id: I36fbc21daddcf068491b58db01b66f540ac26cf7
8 lines
122 B
Plaintext
8 lines
122 B
Plaintext
android_library {
|
|
name: "SettingsLibDisplayDensityUtils",
|
|
|
|
srcs: ["src/**/*.java"],
|
|
|
|
min_sdk_version: "21",
|
|
}
|