File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -221,21 +221,21 @@ void schedule(Request request, Class<?> receiver) {
221
221
context , 0 , intent , FLAG_CANCEL_CURRENT );
222
222
223
223
try {
224
- switch (options .getPrio ()) {
225
- case PRIORITY_MIN :
226
- mgr .setExact (RTC , time , pi );
227
- break ;
228
- case PRIORITY_MAX :
224
+ // switch (options.getPrio()) {
225
+ // case PRIORITY_MIN:
226
+ // mgr.setExact(RTC, time, pi);
227
+ // break;
228
+ // case PRIORITY_MAX:
229
229
if (SDK_INT >= M ) {
230
230
mgr .setExactAndAllowWhileIdle (RTC_WAKEUP , time , pi );
231
231
} else {
232
232
mgr .setExact (RTC , time , pi );
233
233
}
234
- break ;
235
- default :
236
- mgr .setExact (RTC_WAKEUP , time , pi );
237
- break ;
238
- }
234
+ // break;
235
+ // default:
236
+ // mgr.setExact(RTC_WAKEUP, time, pi);
237
+ // break;
238
+ // }
239
239
} catch (Exception ignore ) {
240
240
// Samsung devices have a known bug where a 500 alarms limit
241
241
// can crash the app
You can’t perform that action at this time.
0 commit comments