OSDN Git Service

Remove deprecated VpnType.getDescription().
authorHung-ying Tyan <tyanh@google.com>
Wed, 30 Sep 2009 10:00:36 +0000 (18:00 +0800)
committerHung-ying Tyan <tyanh@google.com>
Wed, 30 Sep 2009 10:39:48 +0000 (18:39 +0800)
tests/AndroidTests/src/com/android/unit_tests/VpnTest.java
vpn/java/android/net/vpn/VpnType.java

index 67fcd61..cb64293 100755 (executable)
@@ -130,7 +130,6 @@ public class VpnTest extends AndroidTestCase {
 
     private void testVpnType(VpnType type) {
         assertFalse(TextUtils.isEmpty(type.getDisplayName()));
-        assertNotNull(type.getDescription());
         assertNotNull(type.getProfileClass());
     }
 
index 322f2bf..356f8b1 100644 (file)
@@ -49,10 +49,6 @@ public enum VpnType {
         return mDescriptionId;
     }
 
-    public String getDescription() {
-        return "";
-    }
-
     public Class<? extends VpnProfile> getProfileClass() {
         return mClass;
     }