Update EncryptionStatusPrefController to BasePrefController
Bug: 32953042 Test: robotests Change-Id: I273d299c433e9886cb09a8527cdb6cdd0d755d0e
This commit is contained in:
@@ -16,6 +16,9 @@
|
||||
|
||||
package com.android.settings.security;
|
||||
|
||||
import static com.android.settings.security.EncryptionStatusPreferenceController
|
||||
.PREF_KEY_ENCRYPTION_DETAIL_PAGE;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.UserManager;
|
||||
import android.provider.SearchIndexableResource;
|
||||
@@ -63,7 +66,7 @@ public class EncryptionAndCredential extends DashboardFragment {
|
||||
Lifecycle lifecycle) {
|
||||
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
||||
final EncryptionStatusPreferenceController encryptStatusController =
|
||||
new EncryptionStatusPreferenceController(context);
|
||||
new EncryptionStatusPreferenceController(context, PREF_KEY_ENCRYPTION_DETAIL_PAGE);
|
||||
controllers.add(encryptStatusController);
|
||||
controllers.add(new PreferenceCategoryController(context,
|
||||
"encryption_and_credentials_status_category",
|
||||
|
Reference in New Issue
Block a user