cmsdk: Use getDataSystemDirectory

* Environment.getSystemSecureDirectory is not a thing on N

Change-Id: I00725f53a6d8f6c412cb064868b463e8dab53327
This commit is contained in:
Steve Kondik
2016-08-29 02:04:07 -07:00
parent 613ec77559
commit 9046c4ca64

View File

@@ -80,7 +80,7 @@ public class ProfileManagerService extends CMSystemService {
public static final String KEYGUARD_CLASS = "com.android.systemui.keyguard.KeyguardService";
/* package */ static final File PROFILE_FILE =
new File(Environment.getSystemSecureDirectory(), "profiles.xml");
new File(Environment.getDataSystemDirectory(), "profiles.xml");
private static final int MSG_SEND_PROFILE_STATE = 10;