Merge "Clean up a few minor issues"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2bc6857532
@ -58,6 +58,24 @@ import java.util.concurrent.atomic.AtomicInteger;
|
||||
* argument of {@link android.content.Context#STORAGE_SERVICE}.
|
||||
*/
|
||||
public class StorageManager {
|
||||
|
||||
/// Consts to match the password types in cryptfs.h
|
||||
/** Master key is encrypted with a password.
|
||||
*/
|
||||
public static final int CRYPT_TYPE_PASSWORD = 0;
|
||||
|
||||
/** Master key is encrypted with the default password.
|
||||
*/
|
||||
public static final int CRYPT_TYPE_DEFAULT = 1;
|
||||
|
||||
/** Master key is encrypted with a pattern.
|
||||
*/
|
||||
public static final int CRYPT_TYPE_PATTERN = 2;
|
||||
|
||||
/** Master key is encrypted with a pin.
|
||||
*/
|
||||
public static final int CRYPT_TYPE_PIN = 3;
|
||||
|
||||
private static final String TAG = "StorageManager";
|
||||
|
||||
private final ContentResolver mResolver;
|
||||
@ -645,14 +663,4 @@ public class StorageManager {
|
||||
return Settings.Global.getLong(mResolver, Settings.Global.SYS_STORAGE_FULL_THRESHOLD_BYTES,
|
||||
DEFAULT_FULL_THRESHOLD_BYTES);
|
||||
}
|
||||
|
||||
/// Consts to match the password types in cryptfs.h
|
||||
/** @hide */
|
||||
public static final int CRYPT_TYPE_PASSWORD = 0;
|
||||
/** @hide */
|
||||
public static final int CRYPT_TYPE_DEFAULT = 1;
|
||||
/** @hide */
|
||||
public static final int CRYPT_TYPE_PATTERN = 2;
|
||||
/** @hide */
|
||||
public static final int CRYPT_TYPE_PIN = 3;
|
||||
}
|
||||
|
@ -35,7 +35,6 @@ import android.provider.Settings;
|
||||
import android.telephony.TelephonyManager;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.util.Slog;
|
||||
import android.view.IWindowManager;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
|
Reference in New Issue
Block a user