Refactor some Preference Controllers to use BasePreferenceController
Test: atest SettingsUnitTests Change-Id: Ic93f29d6c35cb1a43937fa7bf2f1e2d489cdd09f
This commit is contained in:
@@ -46,7 +46,7 @@ public class ScreenPinningPreferenceControllerTest {
|
||||
public void setUp() {
|
||||
MockitoAnnotations.initMocks(this);
|
||||
mContext = RuntimeEnvironment.application;
|
||||
mController = new ScreenPinningPreferenceController(mContext);
|
||||
mController = new ScreenPinningPreferenceController(mContext, "key");
|
||||
mPreference = new Preference(mContext);
|
||||
mPreference.setKey(mController.getPreferenceKey());
|
||||
}
|
||||
|
Reference in New Issue
Block a user