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

Commit b0be5ce9 authored by Mao Jinlong's avatar Mao Jinlong Committed by Linux Build Service Account
Browse files

AlarmManager: Set RTC_POWEROFF_WAKEUP as hidden alarm type

Hide RTC_POWEROFF_WAKEUP type to avoid any conflict with android
CDD.

Change-Id: I13a01f133a1aab2a68b32e92fc91801ceb7d43c7
parent 16554527
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3684,7 +3684,6 @@ package android.app {
    field public static final long INTERVAL_HOUR = 3600000L; // 0x36ee80L
    field public static final int RTC = 1; // 0x1
    field public static final int RTC_WAKEUP = 0; // 0x0
    field public static final int RTC_POWEROFF_WAKEUP = 4; // 0x4
  }
  public static final class AlarmManager.AlarmClockInfo implements android.os.Parcelable {
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ public class AlarmManager
     */
    public static final int ELAPSED_REALTIME = 3;

    /**
    /** @hide
     * Alarm time in {@link System#currentTimeMillis System.currentTimeMillis()}
     * (wall clock time in UTC), which will wake up the device when
     * it goes off. And it will power on the devices when it shuts down.