Android System Reboot rebootNormal(Context context)

Here you can find the source of rebootNormal(Context context)

Description

reboot Normal

Declaration

public static void rebootNormal(Context context) 

Method Source Code

//package com.java2s;

import android.content.Context;
import android.os.PowerManager;

import android.util.Log;

public class Main {
    private final static String TAG = "Upgrade.RebootUtils";

    public static void rebootNormal(Context context) {
        Log.w(TAG, "!!! REBOOT NORMAL !!!");
        PowerManager pm = (PowerManager) context
                .getSystemService(Context.POWER_SERVICE);
        pm.reboot("normal_reboot");
    }/* w w w .  j  a v a 2  s. c  o m*/
}

Related

  1. rebootSystemNow()
  2. rebootInstallPackage(final Context context, final File packageFile)
  3. rebootRecovery(Context context)
  4. rebootWipeUserData(final Context context)