Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ece1219e authored by Nikita Ioffe's avatar Nikita Ioffe Committed by Automerger Merge Worker
Browse files

Merge "Make init.userspace_reboot.is_supported a rw property" am: 67ee6aeb

Change-Id: I4ee415f6ee67ad88e6035fae5d7850e0933c1dd6
parents be872d1f 67ee6aeb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.annotation.TestApi;
import android.compat.annotation.UnsupportedAppUsage;
import android.content.Context;
import android.service.dreams.Sandman;
import android.sysprop.InitProperties;
import android.util.ArrayMap;
import android.util.Log;
import android.util.proto.ProtoOutputStream;
@@ -1336,7 +1337,7 @@ public final class PowerManager {
     */
    // TODO(b/138605180): add link to documentation once it's ready.
    public boolean isRebootingUserspaceSupported() {
        return SystemProperties.getBoolean("ro.init.userspace_reboot.is_supported", false);
        return InitProperties.is_userspace_reboot_supported().orElse(false);
    }

    /**