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

Commit f2d753ec authored by Christopher Tate's avatar Christopher Tate
Browse files

Make WorkSource version of alarm listener API @SystemApi

WorkSource is not public API but this should be available to
system support modules.

Change-Id: I7283ab8aa5c5e298959d21a5c8fe55ed119bc6a3
parent 4f160735
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3878,6 +3878,7 @@ package android.app {
    method public void set(int, long, android.app.PendingIntent);
    method public void set(int, long, java.lang.String, android.app.AlarmManager.OnAlarmListener, android.os.Handler);
    method public void set(int, long, long, long, android.app.PendingIntent, android.os.WorkSource);
    method public void set(int, long, long, long, android.app.AlarmManager.OnAlarmListener, android.os.Handler, android.os.WorkSource);
    method public void setAlarmClock(android.app.AlarmManager.AlarmClockInfo, android.app.PendingIntent);
    method public void setAndAllowWhileIdle(int, long, android.app.PendingIntent);
    method public void setExact(int, long, android.app.PendingIntent);
+1 −1
Original line number Diff line number Diff line
@@ -611,7 +611,7 @@ public class AlarmManager {
     *
     * @hide
     */
    //@SystemApi
    @SystemApi
    public void set(int type, long triggerAtMillis, long windowMillis, long intervalMillis,
            OnAlarmListener listener, Handler targetHandler, WorkSource workSource) {
        setImpl(type, triggerAtMillis, windowMillis, intervalMillis, 0, null, listener, null,