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
(cherry picked from commit 31e37683f0e859d355d0bbb57500498cc0de3962)
This commit is contained in:
Inseob Kim
2018-12-19 12:05:22 +09:00
parent 6c403a876d
commit 4d56f11c4a
3 changed files with 7 additions and 42 deletions

View File

@@ -25,7 +25,6 @@ import static org.mockito.Mockito.spy;
import android.app.Application;
import android.content.Intent;
import android.net.Uri;
import android.os.SystemProperties;
import org.junit.Before;
import org.junit.Test;
@@ -66,8 +65,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);