Clean up FeatureFactory.getFeature()
Bug: 286764889 Test: m Settings Change-Id: I7e472e6b0ca6b7a735c1b92742ddf06c545176fc
This commit is contained in:
@@ -133,7 +133,7 @@ public class StorageWizardInit extends StorageWizardBase {
|
||||
public void onNavigateExternal(View view) {
|
||||
if (view != null) {
|
||||
// User made an explicit choice for external
|
||||
FeatureFactory.getFactory(this).getMetricsFeatureProvider().action(this,
|
||||
FeatureFactory.getFeatureFactory().getMetricsFeatureProvider().action(this,
|
||||
SettingsEnums.ACTION_STORAGE_INIT_EXTERNAL);
|
||||
}
|
||||
StorageWizardFormatConfirm.showPublic(this, mDisk.getId());
|
||||
@@ -142,7 +142,7 @@ public class StorageWizardInit extends StorageWizardBase {
|
||||
public void onNavigateInternal(View view) {
|
||||
if (view != null) {
|
||||
// User made an explicit choice for internal
|
||||
FeatureFactory.getFactory(this).getMetricsFeatureProvider().action(this,
|
||||
FeatureFactory.getFeatureFactory().getMetricsFeatureProvider().action(this,
|
||||
SettingsEnums.ACTION_STORAGE_INIT_INTERNAL);
|
||||
}
|
||||
StorageWizardFormatConfirm.showPrivate(this, mDisk.getId());
|
||||
|
||||
Reference in New Issue
Block a user