Add WorkSource capability to AlarmManager.
Change-Id: I663ea3078d405f0fa667a04bdaa376ae6652e994
This commit is contained in:
@@ -878,7 +878,8 @@ public class NetworkStatsServiceTest extends AndroidTestCase {
|
||||
mAlarmManager.remove(isA(PendingIntent.class));
|
||||
expectLastCall().anyTimes();
|
||||
|
||||
mAlarmManager.set(eq(AlarmManager.ELAPSED_REALTIME), anyLong(), anyLong(), anyLong(), isA(PendingIntent.class));
|
||||
mAlarmManager.set(eq(AlarmManager.ELAPSED_REALTIME), anyLong(), anyLong(), anyLong(),
|
||||
isA(PendingIntent.class), isA(WorkSource.class));
|
||||
expectLastCall().atLeastOnce();
|
||||
|
||||
mNetManager.setGlobalAlert(anyLong());
|
||||
|
||||
Reference in New Issue
Block a user