Merge "Don't add SettingsLib to static_libs in Settings unit test." into sc-dev
This commit is contained in:
@@ -100,7 +100,8 @@ public class StorageSelectionPreferenceController extends BasePreferenceControll
|
||||
if (mOnItemSelectedListener == null) {
|
||||
return;
|
||||
}
|
||||
mOnItemSelectedListener.onItemSelected(mStorageAdapter.getItem(position));
|
||||
mOnItemSelectedListener.onItemSelected(
|
||||
(StorageEntry) mSpinnerPreference.getSelectedItem());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -32,10 +32,8 @@ android_test {
|
||||
"platform-test-annotations",
|
||||
"truth-prebuilt",
|
||||
"ub-uiautomator",
|
||||
"SettingsLibSettingsSpinner",
|
||||
"SettingsLibUsageProgressBarPreference",
|
||||
"SettingsLibTwoTargetPreference",
|
||||
"SettingsLibMainSwitchPreference",
|
||||
// Don't add SettingsLib libraries here - you can use them directly as they are in the
|
||||
// instrumented Settings app.
|
||||
],
|
||||
|
||||
// Include all test java files.
|
||||
|
Reference in New Issue
Block a user