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

Skip to content
Commit 73b62753 authored by Daria Evdokimova's avatar Daria Evdokimova
Browse files

Implementation of SEARCH_MODE for Alarms.

Implemented SEARCH_MODE_TIME, SEARCH_MODE_NEXT, SEARCH_MODE_ALL.
This CL doesn't implement the case when search mode == null, will be in the next CL.
SEARCH_MODE_* is used by Alarms in methods CANCEL_ALARM and DELETE_ALARM.
In StopwatchFragment and StopwatchService changed apply() to commit() to get rid of asynchronous calls.
 Test cases (added in a separate CL) used to fail with apply() because the state of SharedPreferences
  wasn't as expected.

Change-Id: I0b8dad39088ef8fe7a5bfea816f31cebac4fb3e3
parent a2f39bb7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment