|
@@ -210,8 +210,12 @@ public class AppUpdateHelper {
|
|
|
}
|
|
|
|
|
|
public static void rebootDevice() {
|
|
|
- Intent intent = new Intent("android.intent.action.reboot");
|
|
|
- BaseApplication.appContext.sendBroadcast(intent);
|
|
|
+ if (Build.BOARD.equals("rk30sdk")) {
|
|
|
+ reboot(BaseApplication.appContext);
|
|
|
+ } else {
|
|
|
+ Intent intent = new Intent("android.intent.action.reboot");
|
|
|
+ BaseApplication.appContext.sendBroadcast(intent);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public static void restartApp(Context context) {
|