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

Commit 418815ec authored by Kweku Adams's avatar Kweku Adams
Browse files

Remove unnecessary cancel().

JobScheduler.schedule() will cancel any existing job with the same ID,
so calling getPendingJob() and then cancel() before schedule() is unnecessary.

Bug: 238764917
Test: atest ReviewNotificationPermissionsJobServiceTest
Change-Id: I7af83edf9f8971a82dd8ef32d9480a803707facc
parent 10b857af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment