am 2df1cc43: Merge change I42a80783 into eclair
Merge commit '2df1cc437793d50609c575881c04cc2c63d0bd97' into eclair-plus-aosp * commit '2df1cc437793d50609c575881c04cc2c63d0bd97': Remove deprecated VpnType.getDescription().
This commit is contained in:
@@ -130,7 +130,6 @@ public class VpnTest extends AndroidTestCase {
|
|||||||
|
|
||||||
private void testVpnType(VpnType type) {
|
private void testVpnType(VpnType type) {
|
||||||
assertFalse(TextUtils.isEmpty(type.getDisplayName()));
|
assertFalse(TextUtils.isEmpty(type.getDisplayName()));
|
||||||
assertNotNull(type.getDescription());
|
|
||||||
assertNotNull(type.getProfileClass());
|
assertNotNull(type.getProfileClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -49,10 +49,6 @@ public enum VpnType {
|
|||||||
return mDescriptionId;
|
return mDescriptionId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDescription() {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
public Class<? extends VpnProfile> getProfileClass() {
|
public Class<? extends VpnProfile> getProfileClass() {
|
||||||
return mClass;
|
return mClass;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user