Add Night Light Suggestion and tests
Night Light settings suggestion will only show when the user has not previously interacted with Night Light. Bug: 37207263 Test: make ROBOTEST_FILTER=\ "(SettingsSuggestionsTest|SuggestionFeatureProviderImplTest)"\ RunSettingsRoboTests Change-Id: I432d5fef19f5e4a52503da136b044598cb82164a
This commit is contained in:
@@ -26,7 +26,6 @@ import com.android.settings.testutils.SettingsRobolectricTestRunner;
|
||||
import com.android.settings.TestConfig;
|
||||
import com.android.settings.testutils.shadow.ShadowSecureSettings;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
@@ -65,11 +64,6 @@ public class DoubleTwistPreferenceControllerTest {
|
||||
mController = new DoubleTwistPreferenceController(mContext, null, KEY_DOUBLE_TWIST);
|
||||
}
|
||||
|
||||
@After
|
||||
public void tearDown() {
|
||||
ShadowSecureSettings.clear();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isAvailable_hasSensor_shouldReturnTrue() {
|
||||
// Mock sensors
|
||||
|
Reference in New Issue
Block a user