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

Commit dc394905 authored by Filip Gruszczynski's avatar Filip Gruszczynski
Browse files

Refactor checking for inserting activity into existing task.

Inserting into existing task is a large chunk of code with very deep
indentation. This removes 2 levels of indentation by checking them
together and returning final result.

CL also includes moving some of the permission checking code into a
separate method.

Change-Id: Ieba82ef9e410094de229b0d25b2a60bf18a1e869
parent 3ab0c4c4
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