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
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user