Schematize Crypto state system property
Properties accessed across partitions are now schematized and will become APIs to make explicit interfaces among partitions. Bug: 117924132 Test: m -j Change-Id: I5df6145a436c38dd9fed4325b02ac37a801c2f5e Merged-In: I957a8e37a88f7bb6d5007a36c02952d3539580fe
This commit is contained in:
@@ -91,7 +91,7 @@ public class FileEncryptionPreferenceControllerTest {
|
||||
ReflectionHelpers.setField(mController, "mStorageManager", mStorageManager);
|
||||
when(mStorageManager.isConvertibleToFBE()).thenReturn(true);
|
||||
mController.displayPreference(mPreferenceScreen);
|
||||
CryptoProperties.type("foobar");
|
||||
CryptoProperties.type(CryptoProperties.type_values.NONE);
|
||||
|
||||
mController.updateState(mPreference);
|
||||
|
||||
@@ -105,7 +105,7 @@ public class FileEncryptionPreferenceControllerTest {
|
||||
ReflectionHelpers.setField(mController, "mStorageManager", mStorageManager);
|
||||
when(mStorageManager.isConvertibleToFBE()).thenReturn(true);
|
||||
mController.displayPreference(mPreferenceScreen);
|
||||
CryptoProperties.type("file");
|
||||
CryptoProperties.type(CryptoProperties.type_values.FILE);
|
||||
|
||||
mController.updateState(mPreference);
|
||||
|
||||
|
Reference in New Issue
Block a user