diff options
author | Jeff Sharkey <jsharkey@android.com> | 2016-03-17 11:05:20 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2016-03-17 11:35:19 -0600 |
commit | 001516aea295a40fe0174aa028d434fc4573031d (patch) | |
tree | a2326f147c11a03ee790e37c6b586846cbcb60e4 /src/com/android/providers/telephony | |
parent | f85836f11f05beb8a724621f90bbe13caa6e3a7f (diff) | |
download | android_packages_providers_TelephonyProvider-001516aea295a40fe0174aa028d434fc4573031d.tar.gz android_packages_providers_TelephonyProvider-001516aea295a40fe0174aa028d434fc4573031d.tar.bz2 android_packages_providers_TelephonyProvider-001516aea295a40fe0174aa028d434fc4573031d.zip |
Follow framework refactoring.
Bug: 27531029
Change-Id: I21255335a776cdc7f47b09d110e8334803c414b7
Diffstat (limited to 'src/com/android/providers/telephony')
-rw-r--r-- | src/com/android/providers/telephony/ProviderUtil.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/providers/telephony/ProviderUtil.java b/src/com/android/providers/telephony/ProviderUtil.java index 7053e9a..4234b06 100644 --- a/src/com/android/providers/telephony/ProviderUtil.java +++ b/src/com/android/providers/telephony/ProviderUtil.java @@ -113,16 +113,16 @@ public class ProviderUtil { } public static Context getCredentialEncryptedContext(Context context) { - if (context.isCredentialEncryptedStorage()) { + if (context.isCredentialProtectedStorage()) { return context; } - return context.createCredentialEncryptedStorageContext(); + return context.createCredentialProtectedStorageContext(); } public static Context getDeviceEncryptedContext(Context context) { - if (context.isDeviceEncryptedStorage()) { + if (context.isDeviceProtectedStorage()) { return context; } - return context.createDeviceEncryptedStorageContext(); + return context.createDeviceProtectedStorageContext(); } } |