summaryrefslogtreecommitdiffstats
path: root/packages/VpnServices
diff options
context:
space:
mode:
authorJason parks <jparks@google.com>2011-01-12 09:47:26 -0600
committerJason parks <jparks@google.com>2011-01-12 15:01:34 -0600
commit1125d780a8b61703b8eb28c5c77dac5f3f0022dd (patch)
treee3ee92883738c7a26672915af399832adf005e37 /packages/VpnServices
parent688b0af6a888a8a427d9a4c82fedf3e345e6ae34 (diff)
downloadframeworks_base-1125d780a8b61703b8eb28c5c77dac5f3f0022dd.zip
frameworks_base-1125d780a8b61703b8eb28c5c77dac5f3f0022dd.tar.gz
frameworks_base-1125d780a8b61703b8eb28c5c77dac5f3f0022dd.tar.bz2
Remove the APIs for the old encryption scheme.
Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
Diffstat (limited to 'packages/VpnServices')
-rw-r--r--packages/VpnServices/src/com/android/server/vpn/VpnServiceBinder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/VpnServices/src/com/android/server/vpn/VpnServiceBinder.java b/packages/VpnServices/src/com/android/server/vpn/VpnServiceBinder.java
index eeafd5a..3b53194 100644
--- a/packages/VpnServices/src/com/android/server/vpn/VpnServiceBinder.java
+++ b/packages/VpnServices/src/com/android/server/vpn/VpnServiceBinder.java
@@ -28,7 +28,6 @@ import android.net.vpn.VpnProfile;
import android.net.vpn.VpnState;
import android.os.Environment;
import android.os.IBinder;
-import android.os.SystemProperties;
import android.util.Log;
import java.io.File;
@@ -56,7 +55,7 @@ public class VpnServiceBinder extends Service {
private static String getStateFilePath() {
// This call will return the correcu directory whether Encrypted FS is enabled or not
// Disabled: /data/misc/vpn/.states Enabled: /data/secure/misc/vpn/.states
- return Environment.getSecureDataDirectory().getPath() + STATES_FILE_RELATIVE_PATH;
+ return Environment.getDataDirectory().getPath() + STATES_FILE_RELATIVE_PATH;
}
private final IBinder mBinder = new IVpnService.Stub() {