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
Loading
Please register or sign in to comment