Loading services/core/java/com/android/server/power/PowerManagerService.java +3 −1 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ import android.provider.Settings.SettingNotFoundException; import android.service.dreams.DreamManagerInternal; import android.service.vr.IVrManager; import android.service.vr.IVrStateCallbacks; import android.sysprop.InitProperties; import android.util.KeyValueListParser; import android.util.PrintWriterPrinter; import android.util.Slog; Loading Loading @@ -968,7 +969,8 @@ public final class PowerManagerService extends SystemService mHalInteractiveModeEnabled = true; mWakefulnessRaw = WAKEFULNESS_AWAKE; sQuiescent = mSystemProperties.get(SYSTEM_PROPERTY_QUIESCENT, "0").equals("1"); sQuiescent = mSystemProperties.get(SYSTEM_PROPERTY_QUIESCENT, "0").equals("1") || InitProperties.userspace_reboot_in_progress().orElse(false); mNativeWrapper.nativeInit(this); mNativeWrapper.nativeSetAutoSuspend(false); Loading Loading
services/core/java/com/android/server/power/PowerManagerService.java +3 −1 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ import android.provider.Settings.SettingNotFoundException; import android.service.dreams.DreamManagerInternal; import android.service.vr.IVrManager; import android.service.vr.IVrStateCallbacks; import android.sysprop.InitProperties; import android.util.KeyValueListParser; import android.util.PrintWriterPrinter; import android.util.Slog; Loading Loading @@ -968,7 +969,8 @@ public final class PowerManagerService extends SystemService mHalInteractiveModeEnabled = true; mWakefulnessRaw = WAKEFULNESS_AWAKE; sQuiescent = mSystemProperties.get(SYSTEM_PROPERTY_QUIESCENT, "0").equals("1"); sQuiescent = mSystemProperties.get(SYSTEM_PROPERTY_QUIESCENT, "0").equals("1") || InitProperties.userspace_reboot_in_progress().orElse(false); mNativeWrapper.nativeInit(this); mNativeWrapper.nativeSetAutoSuspend(false); Loading