Home | History | Annotate | Download | only in overlay
      1 package com.android.emergency.overlay;
      2 
      3 import android.content.Context;
      4 import android.net.Uri;
      5 import android.support.annotation.Keep;
      6 
      7 import com.android.emergency.edit.EmergencyContactsFeatureProvider;
      8 import com.android.emergency.edit.EmergencyContactsFeatureProviderImpl;
      9 
     10 /**
     11  * {@link FeatureFactory} implementation for AOSP Emergency Info.
     12  */
     13 @Keep
     14 public class FeatureFactoryImpl extends FeatureFactory {
     15     protected EmergencyContactsFeatureProvider mEmergencyContactsFeatureProvider;
     16 
     17     @Override
     18     public EmergencyContactsFeatureProvider getEmergencyContactsFeatureProvider() {
     19         if (mEmergencyContactsFeatureProvider == null) {
     20             mEmergencyContactsFeatureProvider = new EmergencyContactsFeatureProviderImpl();
     21         }
     22         return mEmergencyContactsFeatureProvider;
     23     }
     24 }
     25