am d055c6ad
: am ebbe9a67
: Merge "Use the StorageManager constant for the PatternVisible key." into lmp-mr1-dev
* commit 'd055c6ad5db651ff0fdf6431b6bab8230bc873a2': Use the StorageManager constant for the PatternVisible key.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user