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

Skip to content
Commit 396cea1a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Reduce auto-boxing of Boolean when iterating task and activity

Function<T, Boolean> can be replaced with Predicate<T>.

This also eliminates 9 places that use lambda by calling the
implementation of Consumer and Predicate directly.

Bug: 163976519
Test: CtsActivityManagerDeviceTestCases

Change-Id: I39923aeeed511722ce7270e8ee57fdfbce5c0742
parent 3866f66f
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