diff options
author | Brian Muramatsu <btmura@android.com> | 2011-06-06 12:20:20 -0700 |
---|---|---|
committer | Brian Muramatsu <btmura@android.com> | 2011-06-06 12:20:20 -0700 |
commit | d05a0e34781c6b32624ef8eef98079e99a845283 (patch) | |
tree | 1a2396d2e97d78b72e655b8b25bd997f24c995c4 | |
parent | 81484bb31b4588198cbe6b01fd496d544a48f327 (diff) | |
download | platform_cts-d05a0e34781c6b32624ef8eef98079e99a845283.tar.gz platform_cts-d05a0e34781c6b32624ef8eef98079e99a845283.tar.bz2 platform_cts-d05a0e34781c6b32624ef8eef98079e99a845283.zip |
Revert "Check "Unknown Sources" is Enabled by Default"
This reverts commit 594e9852cc4d34e966f2389c8be67aebb69fdc53.
-rw-r--r-- | tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java b/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java index c325abfeeb6..6ce4157ebe1 100644 --- a/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java +++ b/tests/tests/provider/src/android/provider/cts/Settings_SecureTest.java @@ -23,7 +23,6 @@ import dalvik.annotation.TestTargets; import android.content.ContentResolver; import android.net.Uri; -import android.provider.Settings; import android.provider.Settings.Secure; import android.provider.Settings.SettingNotFoundException; import android.test.AndroidTestCase; @@ -179,9 +178,4 @@ public class Settings_SecureTest extends AndroidTestCase { assertNotNull(uri); assertEquals(Uri.withAppendedPath(Secure.CONTENT_URI, name), uri); } - - public void testUnknownSourcesOffByDefault() throws SettingNotFoundException { - assertEquals("Device should not ship with 'Unknown Sources' enabled by default.", - 0, Secure.getInt(cr, Settings.Secure.INSTALL_NON_MARKET_APPS)); - } } |