am ebbe9a67: Merge "Use the StorageManager constant for the PatternVisible key." into lmp-mr1-dev

* commit 'ebbe9a6796eb96776c77c70a0890af3d228e789b':
  Use the StorageManager constant for the PatternVisible key.
This commit is contained in:
Elliott Hughes
2014-10-02 23:38:50 +00:00
committed by Android Git Automerger

View File

@@ -443,8 +443,8 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList
try {
final IMountService service = getMountService();
type = service.getPasswordType();
owner_info = service.getField("OwnerInfo");
pattern_visible = !("0".equals(service.getField("PatternVisible")));
owner_info = service.getField(StorageManager.OWNER_INFO_KEY);
pattern_visible = !("0".equals(service.getField(StorageManager.PATTERN_VISIBLE_KEY)));
} catch (Exception e) {
Log.e(TAG, "Error calling mount service " + e);
}