FileDocCategorySizeDatePackage
BootReceiver.javaAPI DocAndroid 1.5 API1312Wed May 06 22:42:00 BST 2009com.android.server

BootReceiver

public class BootReceiver extends android.content.BroadcastReceiver

Fields Summary
Constructors Summary
Methods Summary
public voidonReceive(android.content.Context context, android.content.Intent intent)

        Intent service = new Intent(context, com.android.server.LoadAverageService.class);
        ContentResolver res = context.getContentResolver();
        boolean shown = Settings.System.getInt(
                res, Settings.System.SHOW_PROCESSES, 0) != 0;
        if (shown) {
            context.startService(service);
        }