DO NOT MERGE
Removing unused features from source tree. Please refer to Bug#2502219. Change-Id: I879c29bfd5ffe933f64bb1082aaae7c956450a5a
This commit is contained in:
@@ -312,9 +312,7 @@ public class SyncStorageEngine extends Handler {
|
||||
if (sSyncStorageEngine != null) {
|
||||
return;
|
||||
}
|
||||
// This call will return the correct directory whether Encrypted File Systems is
|
||||
// enabled or not.
|
||||
File dataDir = Environment.getSecureDataDirectory();
|
||||
File dataDir = Environment.getDataDirectory();
|
||||
sSyncStorageEngine = new SyncStorageEngine(context, dataDir);
|
||||
}
|
||||
|
||||
|
||||
@@ -248,16 +248,6 @@ public class ApplicationInfo extends PackageItemInfo implements Parcelable {
|
||||
*/
|
||||
public static final int FLAG_RESTORE_ANY_VERSION = 1<<17;
|
||||
|
||||
/**
|
||||
* Value for {@link #flags}: this is true if the application has set
|
||||
* its android:neverEncrypt to true, false otherwise. It is used to specify
|
||||
* that this package specifically "opts-out" of a secured file system solution,
|
||||
* and will always store its data in-the-clear.
|
||||
*
|
||||
* {@hide}
|
||||
*/
|
||||
public static final int FLAG_NEVER_ENCRYPT = 1<<18;
|
||||
|
||||
/**
|
||||
* Value for {@link #flags}: Set to true if the application has been
|
||||
* installed using the forward lock option.
|
||||
|
||||
@@ -1539,12 +1539,6 @@ public class PackageParser {
|
||||
ai.flags |= ApplicationInfo.FLAG_TEST_ONLY;
|
||||
}
|
||||
|
||||
if (sa.getBoolean(
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_neverEncrypt,
|
||||
false)) {
|
||||
ai.flags |= ApplicationInfo.FLAG_NEVER_ENCRYPT;
|
||||
}
|
||||
|
||||
String str;
|
||||
str = sa.getNonConfigurationString(
|
||||
com.android.internal.R.styleable.AndroidManifestApplication_permission, 0);
|
||||
|
||||
Reference in New Issue
Block a user