Home | History | Annotate | Download | only in service
      1 package com.android.email.service;
      2 
      3 import android.content.BroadcastReceiver;
      4 import android.content.Context;
      5 import android.content.Intent;
      6 
      7 /**
      8  * {@link BroadcastReceiver} for app upgrade. This listens to package replacement (for unbundled
      9  * upgrade) and reboot (for OTA upgrade). The code in the {@link EmailBroadcastProcessorService}
     10  * disables this receiver after it runs.
     11  */
     12 public class EmailUpgradeBroadcastReceiver extends BroadcastReceiver {
     13     @Override
     14     public void onReceive(final Context context, final Intent intent) {
     15         EmailBroadcastProcessorService.processUpgradeBroadcastIntent(context);
     16     }
     17 }
     18