Remove unused system properties
Properties ro.config.license_path and ro.config.manual_path are not set from anywhere but only from a test. Bug: N/A Test: mma -j Change-Id: I651405f3a201f5129bf37059e96e7bcc5efa73bf Merged-In: I651405f3a201f5129bf37059e96e7bcc5efa73bf
This commit is contained in:
@@ -26,7 +26,6 @@ import static org.robolectric.Shadows.shadowOf;
|
||||
import android.app.Application;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.SystemProperties;
|
||||
|
||||
import com.android.settings.testutils.SettingsRobolectricTestRunner;
|
||||
|
||||
@@ -67,8 +66,6 @@ public class SettingsLicenseActivityTest {
|
||||
|
||||
@Test
|
||||
public void testOnCreateWithValidHtmlFile() {
|
||||
SystemProperties.set("ro.config.license_path", "/system/etc/NOTICE.html.gz");
|
||||
|
||||
doReturn(true).when(mActivity).isFileValid(any());
|
||||
mActivity.onCreate(null);
|
||||
|
||||
|
Reference in New Issue
Block a user