Clean up FeatureFactory.getFeature()
Bug: 286764889 Test: m Settings Change-Id: I7e472e6b0ca6b7a735c1b92742ddf06c545176fc
This commit is contained in:
@@ -49,7 +49,7 @@ public class CameraFlashNotificationPreferenceController extends TogglePreferenc
|
||||
|
||||
@Override
|
||||
public boolean setChecked(boolean isChecked) {
|
||||
FeatureFactory.getFactory(mContext).getMetricsFeatureProvider().changed(
|
||||
FeatureFactory.getFeatureFactory().getMetricsFeatureProvider().changed(
|
||||
getMetricsCategory(), getPreferenceKey(), isChecked ? 1 : 0);
|
||||
return Settings.System.putInt(mContext.getContentResolver(),
|
||||
Settings.System.CAMERA_FLASH_NOTIFICATION, (isChecked ? ON : OFF));
|
||||
|
||||
Reference in New Issue
Block a user