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

Skip to content
Commit 2ec23ac0 authored by Ömer Faruk Yılmaz's avatar Ömer Faruk Yılmaz
Browse files

Optimize and clean up AppScanStats.java

- Declare some fields as `final`
- Improve encapsulation of some functions
- Use `requireNonNullElseGet()`
- Introduce `createBaseScanEvent()` to reuse code
= Use `values.()` over `keySet()` when value is required

Bug: 394958283
Test: atest AppScanStatsTest
Flag: Exempt refactor no-op
Change-Id: I71fc2ab20ad4aa2abd6eb7e4c4c7015c235bb7ce
parent 2ff37257
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