am 32ce9484: am 6e26427e: Updated Wi-Fi hotspot dialog to the Material Spec.
* commit '32ce9484b7e8b039bb7d5b9f31ddaa9834fc1f5d':
Updated Wi-Fi hotspot dialog to the Material Spec.
diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java
index adc1b2d..e552455 100644
--- a/src/com/android/settings/CryptKeeper.java
+++ b/src/com/android/settings/CryptKeeper.java
@@ -443,8 +443,8 @@
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);
}