Use proper DashboardFragment APIs for SecuritySettingsV2
Next CL will add tests. Bug: 32953042 Test: TODO Change-Id: I0cb0e4eb216d3e9408675486f1cd73ba82d8ca36
This commit is contained in:
@@ -66,7 +66,8 @@ public class EncryptionAndCredential extends DashboardFragment {
|
||||
Lifecycle lifecycle) {
|
||||
final List<AbstractPreferenceController> controllers = new ArrayList<>();
|
||||
final EncryptionStatusPreferenceController encryptStatusController =
|
||||
new EncryptionStatusPreferenceController(context, PREF_KEY_ENCRYPTION_DETAIL_PAGE);
|
||||
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