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) {
|
if (mOnItemSelectedListener == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mOnItemSelectedListener.onItemSelected(mStorageAdapter.getItem(position));
|
mOnItemSelectedListener.onItemSelected(
|
||||||
|
(StorageEntry) mSpinnerPreference.getSelectedItem());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -32,10 +32,8 @@ android_test {
|
|||||||
"platform-test-annotations",
|
"platform-test-annotations",
|
||||||
"truth-prebuilt",
|
"truth-prebuilt",
|
||||||
"ub-uiautomator",
|
"ub-uiautomator",
|
||||||
"SettingsLibSettingsSpinner",
|
// Don't add SettingsLib libraries here - you can use them directly as they are in the
|
||||||
"SettingsLibUsageProgressBarPreference",
|
// instrumented Settings app.
|
||||||
"SettingsLibTwoTargetPreference",
|
|
||||||
"SettingsLibMainSwitchPreference",
|
|
||||||
],
|
],
|
||||||
|
|
||||||
// Include all test java files.
|
// Include all test java files.
|
||||||
|
Reference in New Issue
Block a user